Since the function is used in your child theme’s template there’s nothing stopping you from using a function with a different name. So you don’t actually need to plug the function, you just need to create a function that does what you want and use that instead.
So copy ale_filter() to your child theme, rename it something like ale_child_filter(), change it however you like, and then just change your template to use that function.
You only need to plug a function if the function is used somewhere that you can’t overwrite with your child theme. Plugging it would allow you redefine a function when you don’t have access to change where the function is used. Since you do have the ability to change which function is used, plugging the function is unnecessary.
Related Posts:
- Is it possible to disable a function of a parent theme?
- How do I remove a require_once admin panel from the parent theme from the child theme functions.php?
- Copyright info change in Theme Child PHP
- Add footer.php to WordPress child theme
- Setting up the child theme so as to enable right-to-left WordPress?
- How to override a non pluggable and non hookable function in a WordPress parent theme?
- Understanding WordPress child theme custom JS loading
- Overriding a theme redux file in child theme
- Adding tawk.to code just before body tag on functions.php file
- WordPress child theme fails to override parent navigation menu in /inc/structure/header.php
- How to style options page in dashboard?
- Copyright info change – Corporate Plus Theme PHP [closed]
- How do I check or test a WordPress Auto Year Change Script?
- How to have different site identity logos on each page on Astra Theme [closed]
- Removing “Powered by” footer using child theme PHP [closed]
- Overide Variable in Child Theme
- child parent styles enqueue order
- How to style injected code in header section?
- Child Theme’s Read More Text
- Need advice on theme customizer and child themes
- Proper way to remove html code on child theme
- remove_action from parent theme using child theme functions.php
- File from parent theme imported to child theme doesn’t work – any ideas?
- How to change this ajax function to submit to the default wordpress content area instead of the custom field ‘seller notes’?
- Child theme overirde template-tags in a theme built on underscores in inc/template-tags
- PHP “warning include_once(): Failed to open stream” Simple HTML DOM in WordPress Child Theme
- Removing get_template_part in child theme
- How to deprecate a function used in a plugin?
- How to manually fix the WordPress gallery code using PHP in functions.php?
- How to make a image-size selected by default in Media upload – WP v3.5
- Hide main div if wp_nav_menu is empty
- adding a filter to a shortcode?
- How to draw media details for Isotope gallery using Photoswipe
- Check if a menu is empty?
- Dynamically change feature image in customiser
- Remove class that has been added by parent theme
- category not display in word press grammatically
- Design view breaking on Pages
- Getting a fatal error while updating
- Hooking new functions to actions + passing parameters
- How to break down importing of feeds
- Create Logout Link WordPress Admin Menu
- Use wp_get_recent_posts with search term
- Calculations in functions.php [closed]
- comments_number display outside specified span
- Choose To Display Post Views With An Options Panel
- Prevent Data Resubmission On Page refresh
- Get_avatar filter?
- Error in custom php function doesn’t exist
- How to create a php variable using WordPress the_title() function
- How to edit php files in Child Theme?
- Noscript not working as it should in wordpress site
- Function works everywhere, how to keep it to execute when creating a new post
- Pagination broken on is_front_page()
- Content filter won’t work
- Reading settings in the home page precisely home.php
- Fetching Initials of the Commentator in the WordPress Website
- Calling function in loop causes repeat data
- Missing a text-domain esc_attr_e
- Is there a hack for using is_page() within the function.php file?
- Extract and display user infromation on an automatically created page
- Is it legal to redefine wp_password_change_notification in a mu plugin?
- How can I assign separate stylesheets to different pages?
- Programmatically revert to backup .htaccess a possibility?
- Execute PHP code only with specific user role
- WordPress User Meta value variable into Google Gauge Chart
- PHP function for horizontal Woocommerce thumbnails and badges
- Embed video from streamtape using direct link
- Is there a PHP function that will return the block ID generated by WordPress?
- Creating a Function and Call It
- WooCommerce display price before add to cart [closed]
- Show sidebar only to author of post
- how to add custom select field to wordpress edit page
- How to Change Site Elements based on referring URL
- how to use 2 index.php file One for mobile and one for desktop
- How to override html codes in wordpress?
- Theme editing “post thumbnail” help
- Restrict File Type Uploads by User on Wordress via functions.php
- How to Request a User to Register on Landing at a Site, Then Automatically Delete the Users Password on Logout?
- Matching multi user
- Add disclaimer before certain posts and pages
- AJAX Returning Way Too Many Posts
- Where can I find the declaration of `$_wp_theme_features`?
- redirect 301 with special character like WIX site “#!”
- auto metakey value on post tile
- How do I routinely extract the thumbnail of the most recent post?
- How I can add div to menu?
- Modify category archive page loop on functions.php
- How to print redirected query string variables to the page?
- Admin-area broken through weird issues
- Check if values exists DB
- Search box background on a different page template
- If I define a variable in header.php, how do I make it available to templates?
- Select area and checkbox data is not saving?
- How to modify this function to exclude also the post belonging to a specific category?
- Suppress errors when using global function
- How to limit the number of posts in the wordpress loop in conjunction with the “download more” button?
- Need help with conditional logic for menus
- Strip and print only the numbers found in current’s post excerpt (even if they are without space)
- Including product categories (product_cat taxonomy) title and description in search query