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
- How to customize the_archive_title()?
- How to override parent functions in child themes?
- Adding a second email address to a completed order in WooCommerce [closed]
- 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
- Child theme functions.php do I use php open and close tags?
- add_action in a function, is it possible?
- Declaring an instance of class included in parent theme from child theme functions.php
- Add action hook conditionally – only when home.php in use
- Implementing DNS Prefetching with WordPress
- How can I tell if I’m on a login page? [duplicate]
- Is it possible to override this function/class in a child theme?
- Change meta tags programatically
- Convert hyphen to underscore in permalinks
- Change parent theme file function in child themes functions.php
- Adding extra SVGs to TwentyNineteen child theme using class TwentyNineteen_SVG_Icons
- How to override filter in child theme?
- Unregister Nav Menu with fallback?
- Changes to functions.php not working
- Theme-Config tab in admin Pannel?
- Overwrite Parent Theme add_image_size in Child Theme
- Proper way of using functions in action hook?
- Is It wrong to use oop approach on functions.php?
- PHP files included in functions.php don’t seem to work
- Include files in child themes, declare in functions.php
- Hook specific functions if on a specific admin page
- How to remove set_post_thumbnail_size() in child themes?
- functions.php mistakenly deleted
- Child Theme files – what is needed?
- How do I add Bootstrap and LESS to my migrated WordPress site?
- Child theme within a child theme?
- How to load jQuery in the footer – nothing works for me
- How can I change a function in a parent theme via a child themes functions.php
- How to stop twenty fifteen theme from cropping featured images?
- How to remove style attribute in WordPress RSS output?
- Wait a result before enqueue
- Pagination in relation to archive.php
- Multiple Loops Meta Data
- Function added using `add_action()` not being called
- Replace function in a child theme
- jQuery does not work
- Override the WordPress core function wp_referer_field
- Two functions with different arguments and add_actions, but identical code
- Load custom css in functions.php causing library issue
- Scripts not loading when using the wp_enqueue_scripts action
- Some questions about how proper add 2 CSS file in a WordPress theme?
- Turn get_posts as string into an array for use in theme admin options
- problem loading stylesheets to wp_head dynamically
- current_user_can comma list vs OR (||) list
- Can’t locate custom image sizes defined by child theme
- 400 Bad Request – JavaScript App calling Custom wp-json endpoint
- overwrite code snippet from parent to child theme
- Unable to point the child theme directory even using get_stylesheet_directory()
- Changing where my author box is printed
- Use add_action within template
- Problem with custom function when I go back with the browser
- Replace admin header logo with an image
- Why a SlideShow (made using JQuery FlexSlider) can’t work if I load it form functions.php but work if I load it from my footer.php file? [closed]
- template_redirect action only firing if logged in
- Any adverse effects of adding apply_filters to a function?
- Astra theme – cannot set short product description under the product title (product name)
- How to use wp_enqueue_script properly?
- Get webpack to work on child theme
- How to remove font awesome from loading in wp theme
- Using get_terms for custom taxonomy in functions.php
- Add custom css file after plugin css with WordPress Child Theme functions.php
- Issue passing action class to nested function. Admin Columns
- Header menu aligned right on all pages except for single-post page [closed]
- How do you insert code into the sidebar?
- Widget is displayed in two places
- Create New User Custom Field not Saving
- Shortcode Initialization in a Custom Theme
- Which method is more correct for removing WooCommerce Extensions menu item?
- How do I integrate my Child Theme into a Custom Template?
- Sending Messages Back to the Template After Processing?
- custom COOKIE on custom page
- Override parent theme function that is not hooked or in the functions.php file
- Additional Sidebar
- Do something when user creates post (that’s pending)
- Why functions metaboxes is causing White Screen in Admin [closed]
- Adding function to function.php error 505 [closed]
- HELP: Code To Check Status And Write Debug Entry
- How to automatically load Google Fonts on pages only as they’re used?