Is this even possible?
If your description is correct and …
- The function is not pluggable, by which I assume you mean not
wrapped in aif (!function_exists())
condition and - The function is not a callback for an action or a filter and
- The function is not in a theme file that gets automatically substituted by the template loading system
… then you can’t remove it or replace it except by editing the parent theme file where the function is defined, and then, yes, unless you replace that function with an altered but compatible version with the same name you will get errors. And edits to the parent will be overwritten when the parent is updated.
Related Posts:
- Override parent theme function that is not hooked or in the functions.php file
- How would I go about replacing this function in my child theme located in inc/template-tags.php
- How to override parent functions in child themes?
- Child theme – Overriding ‘require_once’ in functions.php
- Declaring an instance of class included in parent theme from child theme functions.php
- override parent theme configuration in child functions.php
- syntax for remove_filter in parent theme with class
- Is it possible to override this function/class in a child theme?
- How to override filter in child theme?
- add sidebar area to header of child theme
- Should I ask a theme developer to use locate_template rather than require_once
- Using the child theme functions.php to change the customizer.php on parent theme
- override parent theme configuration in child functions.php
- Proper way of using functions in action hook?
- Avoid loading css from parent theme
- How can I change a function in a parent theme via a child themes functions.php
- How to load parent theme template parts in child theme
- append to existing parent theme function
- Enqueuing latest version of jQuery into a child theme returns a blank screen
- How to edit classes in body tag?
- overwrite code snippet from parent to child theme
- How to edit/replace Parent functions.php function in Child Theme to add “Walker” class
- get_template_directory_uri() links to child theme not parent
- Is it possible to use add_filter in an included file in the child theme’s functions.php?
- remove_action not working, even after changing priority [duplicate]
- Removing parent theme CSS without editing parent theme
- Any adverse effects of adding apply_filters to a function?
- how can I add filter in specfic field in my website?
- How Do I Unhook This Parent Theme Function?
- How do I create a child theme from PowerMag theme
- Problem with Child-Theme using of foundation-framework [closed]
- How to customize the_archive_title()?
- remove_action on after_setup_theme not working from child theme
- Issues with title-tag and document_title_parts
- Adding a second email address to a completed order in WooCommerce [closed]
- Child theme functions.php do I use php open and close tags?
- How to reduce original image quality on upload?
- Add body class of category parent
- Convert hyphen to underscore in permalinks
- Programmatically Add Font-Awesome Icons to Category Widget
- Change parent theme file function in child themes functions.php
- Remove bulk actions based on user role or capabilities
- Adding extra SVGs to TwentyNineteen child theme using class TwentyNineteen_SVG_Icons
- Reuse variable in hook callback
- How to change a certain text or term of WordPress into a custom into the whole site?
- Unregister Nav Menu with fallback?
- Adding body class when post contains a specific shortcode
- Changes to functions.php not working
- Manipulate Output of wp_list_something: select menu instead of li’s
- Overwrite Parent Theme add_image_size in Child Theme
- Show excerpt for only first post in query
- Include files in child themes, declare in functions.php
- How to remove set_post_thumbnail_size() in child themes?
- Can’t check if a post has thumbnail adding filter to get_post_metadata()
- Echo tags used to describe the theme
- How do I add Bootstrap and LESS to my migrated WordPress site?
- Child theme within a child theme?
- Passing values from a widget to a function within a plugin
- Publish/Update post is changing image links from file url to post url
- How to filter, restrict and return posts based on custom user meta information
- Replace a menu with widget or a custom template file programmatically
- Pagination in relation to archive.php
- Run wp_kses_decode_entities on atom feed?
- Can’t filter wp_get_attachment_link
- Override the WordPress core function wp_referer_field
- Modify post filter to set custom number of posts per page and exclude child posts
- How to edit the Tags within the image file URLs?
- How to add_filter html template to middle of content
- Load custom css in functions.php causing library issue
- Can’t locate custom image sizes defined by child theme
- Combine embed_oembed_html and oembed_result
- Can’t switch to a child theme using filters template, option_template and option_stylesheet
- How to have different site identity logos on each page on Astra Theme [closed]
- Native gallery custom html output
- The_content and Preg_replace in loaded Iframe [closed]
- Get webpack to work on child theme
- How to remove font awesome from loading in wp theme
- Customizing the wp_video_shortcode output with add_filter
- Add custom css file after plugin css with WordPress Child Theme functions.php
- Removing comment lines from all enqueued js files using a filter function
- Widget is displayed in two places
- Allow user only create specific tags
- Child theme remove parent filter in functions
- Create New User Custom Field not Saving
- add product thumbnail to checkout page only and include variation name
- Remove External Links from WordPress posts Using add_filter() in Theme functions.php
- Which method is more correct for removing WooCommerce Extensions menu item?
- Hide disclaimer from summary excerpts
- Only seems to be displaying one child when there are supposed to be multiple
- Why might wptexturize have become re-enabled?
- How do I integrate my Child Theme into a Custom Template?
- Shortcode to eliminate and replace with
- Getting back a blank WordPress site following functions code edit
- Child Theme functions.php has no effect
- Problem in outputting shortcode
- Allow tags and attributes in post and pages content
- child_of not working while searching
- How to Insert A List of Posts in A Category Written by the Author into the Author Archive
- Filter to strip unnecessary attributes
- post_row_actions filter from parent theme not executing in child theme