As @cybmeta already pointed out, you are too early with your removal. So you have to defer the actual removal, for instance like so:
add_action( 'after_setup_theme', 'wpdev_170663_remove_parent_theme_stuff', 0 );
function wpdev_170663_remove_parent_theme_stuff() {
remove_action( 'after_setup_theme', 'et_pb_setup_theme' );
}
Related Posts:
- Child theme – Overriding ‘require_once’ in functions.php
- Reuse variable in hook callback
- Child Theme Not Overriding Parent Theme
- Echo tags used to describe the theme
- Problem only while using require_once() within functions.php
- Is there an alternative to get_template_directory_uri()?
- Reuse variable in hook callback
- Not all CSS elements transferring via parent to child?
- Add back in child theme what the parent theme removed with remove_action
- Can’t switch to a child theme using filters template, option_template and option_stylesheet
- How to override this theme function in child theme
- get_template_directory() – references parent theme directory
- remove_action from parent theme using child theme functions.php
- How Do I Unhook This Parent Theme Function?
- Setting Up Child Theme To Take Priority
- Getting back a blank WordPress site following functions code edit
- get_template_directory_uri pointing to parent theme not child theme
- How to customize the_archive_title()?
- How to override parent functions in child themes?
- Remove Actions/Filters added via Anonymous Functions
- Adding a second email address to a completed order in WooCommerce [closed]
- How to load scripts/styles specific for a page
- Is there any global functions.php file which works for any theme?
- Trying to use add_action and do_action with parameters
- Include files in child theme functions file
- Check if post is being published for the first time, or is an already published post being updated
- Display random categories on the front page (Finding and Editing Theme Functions)
- Redeclare a function in a child theme
- How to use the do_action () with parameter
- Perform an action when post is updated/published
- WordPress Theme Update Action?
- How to override a function when isn’t at functions.php
- Extract image from content and set it as the featured image
- Child theme functions.php do I use php open and close tags?
- Do WordPress’ cron’s clean up expired transients?
- Issue with get_theme_mod returning a blank value instead of the saved value
- add_action in a function, is it possible?
- Declaring an instance of class included in parent theme from child theme functions.php
- One Child Functions.php for Multiple Child Themes
- Using a private method as an action callback from within a class
- Refresh page after form action
- How to restrict actions and filters “properly” by conditions
- How to count number of functions attached to an action hook?
- Add action hook conditionally – only when home.php in use
- Removing custom background and header feature in child theme
- Using add_filter() in Widgets
- How to override function in functions.php of parent theme?
- Implementing DNS Prefetching with WordPress
- Hourly Routine Not Firing ( wp_schedule_event() )
- How can I tell if I’m on a login page? [duplicate]
- override parent theme configuration in child functions.php
- Child theme – overriding add_image_size by a child theme [duplicate]
- syntax for remove_filter in parent theme with class
- Is it possible to override this function/class in a child theme?
- How to override functions.php in child theme?
- which is the function that removes accented vowels?
- Overriding core functions in child theme
- Change meta tags programatically
- Convert hyphen to underscore in permalinks
- Override parent theme function that is not hooked or in the functions.php file
- Using get_terms for custom taxonomy in functions.php
- Fatal error: Call to undefined function add_action() – an untouched problem
- Function in Child Theme not overriding Parent Theme function [duplicate]
- Change parent theme file function in child themes functions.php
- Adding extra SVGs to TwentyNineteen child theme using class TwentyNineteen_SVG_Icons
- How to hook into the quick edit action?
- Theme Demo in live Site
- Child theme – copied some files from parent to child website still uses parent files
- Remove action within a class in a parent theme from the child theme
- Customising widget titles/headings in WP 5.8
- How to override filter in child theme?
- I created a child theme and it doesn’t work for some of the css files
- Call to undefined add_action() in theme’s functions.php
- add sidebar area to header of child theme
- Unregister Nav Menu with fallback?
- WooCommerce add_action hook results in 500 error
- Changes to functions.php not working
- Overriding methods in a child theme
- How to override enqueued styles using a child theme
- Should I ask a theme developer to use locate_template rather than require_once
- Automatically Add Specified Value to Attachment Metadata upon Upload
- Where does function_exists() look to decide whether a function exists? [closed]
- Override the core function locate_template
- Using the child theme functions.php to change the customizer.php on parent theme
- Can’t Update function.php after writing short code
- Theme-Config tab in admin Pannel?
- Child theme functions.php not executing
- How to store / access files in child theme folder
- How to update feed only 2-3 times a week (for Feedburner email)?
- Make “sidebar template” the default template for new pages
- override parent theme configuration in child functions.php
- wp_enqueue JavaScript in child-theme (ReferenceError) using Search & Go
- Overwrite Parent Theme add_image_size in Child Theme
- Proper way of using functions in action hook?
- How would go about if I just want a temporary function?
- Twenty Eleven Child theme error when attempting to use a rewritten function
- How do I get a child theme to load scripts from the parent theme?
- Passing arguments to my function with do_action and add_action is not working
- Is It wrong to use oop approach on functions.php?
- Pass parameters to function through an action