You have wrong argument for the filter. The first argument of the add_filter
is the filter you are hooking up to. In your case it’s the mesmerize_get_footer_copyright
. The second argument is the Call back function that would run the filter is called.
So change your add_filter
to this
add_filter('mesmerize_get_footer_copyright', 'change_copyrightText', 10,1) ;
Related Posts:
- Copyright info change in Theme Child PHP
- Copyright info change – Corporate Plus Theme PHP [closed]
- Is it possible to disable a function of a parent theme?
- How to override an unpluggable parent theme function?
- How do I remove a require_once admin panel from the parent theme from the child theme functions.php?
- 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
- Successful or Error Message after running mysql code in functions.php
- 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?
- Log in / Log Out Custom Button
- Display Data in Table from External Database in WP using Shortcodes
- Sidebar not appearing in footer, but it appears everywhere else!
- 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]
- My website is not showing Footer section
- Removing “Powered by” footer using child theme PHP [closed]
- Overide Variable in Child Theme
- child parent styles enqueue order
- using wp enqueue style to create a CSS file specifically for a page template
- How to style injected code in header section?
- Child Theme’s Read More Text
- Need advice on theme customizer and child themes
- Need help for some PHP code
- How to preload header logo image in WordPress? like what’s the code and where do I put it?
- 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
- How to put 2 php codes in functions.php without site crashing
- Using Javascript On Page – Header and Footer Now Missing
- Removing get_template_part in child theme
- how to create twitter card without plugin in wordpress website?
- Mega Menu Walker
- How to add a class to the attachment images
- How to call a function only once (global variable scope)
- Multiple is_page() in page.php
- Is it possible to get a theme customizer setting from wp.customize using jquery?
- How to correct schedule my event weekly with wp_schedule_event()
- Execute a shortcode when clicking on a image
- Best way of adding CSS which can be manipulated by the user via theme option panels?
- How to Append to the_excerpt() Function
- Listing all sub-pages?
- Why do filters/actions require an argument count?
- How can I default to all WordPress roles when parameter is not included in shortcode?
- Recent post display using shortcode
- child theme inherticance and php autoload
- How to speed up a wordpress function with multiple loops?
- syntax issue on php 7.4
- How can I use wp_insert_comment to write a comment when a post is edited?
- Can’t extend some core classes
- How do you add customer capability after Woocommerce purchase?
- Menu — How to add “current-menu-grand-ancestor” css class
- functions.php is being included twice, creating PHP fatal errors
- Hide Hamburger Menu On Specific Page (Front Page/Home Page)
- How to put a variable in a instance in the widget
- get a simple array of all of the term names that exist in all taxonomies
- Logged in user ID as post ID
- Show categories then when clicked on a category list all sub category and when clicked show all posts in that sub category
- How to save checkbox values for logged in users?
- How to store data from multiple forms using ajax and php
- How to control WordPress image metadata (using Imagick)?
- Removing “wpautop” (auto tags) only on certain pages?
- Custom Background by Page IDs
- Run a code only on theme activation only during first activation
- Shortcode from a function not working
- Is it possible to return content, and then also continue to do other things?
- Creating WordPress Shortcode with Variable
- Add meta tags to a custom header
- How to use mysql LIKE with wpdb?
- Function sanitize_title() does not appear to be working
- Displaying Event within two given time frames
- How to prevent a function from running based on host (ie web vs local)?
- How to call custom function outside from the admin page?
- How to edit background color of only one sidebar?
- Delete images from media library when user deletes an image from ACF Gallery
- Counting number of posts in multiple (sub)categories using shortcode
- Reject all malicious URL requests functions.php
- Notice: Undefined variable
- Add the shortcodes from the enfold theme to the other theme
- How to override WooCommerce Order Item Meta with data from Cart?
- Taxonomy Child Term, Counter is staying on 0
- Access to “My Site” is missing from the admin bar
- Need help with PHP functions
- Using get_theme_mod with checkbox to display content
- WordPress styling recent post
- Styling admin page rows in order of importance (checkboxes)
- Break a WordPress function to run in patches and re-continue
- Pagenav Not appearing on custom Template
- Highlight posts currently being edited on multiple editor site?
- How do I change the Go To Categories link in the term_updated_messages
- WooCommerce – Show ‘Sales’ badge on variable products where only some variations have sales price [closed]
- Alternative to php echo within code
- Add multiple HTML attributes to an Elementor button
- /page/2/ redirect to 404