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?
- Trying to insert widget code into theme function
- How to send a php var to jQuery Ajax call with two different file
- Providin exception to WordPress wp_nav_menu Custom CSS Classes
- Change wordpress’ database data using ajax – how to get current user id?
- Woocommerce My acount page
- Woocommerce – Exclude variation attribute on specific variation
- Dynamically populate parameter in Gravity Forms using PHP
- How do I add a function to parent theme
- Can’t log in to WordPress wp-admin after adding code to functions.php
- Why would the child theme load in the Customize preview, but not on the site itself?
- Are there any drawbacks on opening a session_start in functions.php and header.php?
- Store ajax data in PHP variable
- comment_post (if comment is approved OR $comment_approved === 1) not working?
- How a HTML form can trigger a PHP function?
- Dropdown category field inside repeatable metabox
- How to change basename url for wp-admin?
- Create shortcode for metabox gallery
- Allow a user or role to view drafts and previews, but not other admin privileges?
- Retrieve alt text by referencing the img src
- Woocommerce display orders with products from specific categories to specific admins
- How to exclude meta no index pages from wp_list_pages
- Cannot find the php_ini configuration file to find my error log to see why my code is not working
- Woocommerce template file outputting tags
- Adding HTML Code to Replace Text in PHP
- How to Send Pingbacks for all Posts in WordPress?
- Reliable way to add nonce to HTTP Header in WordPress?
- Products listing check if meta checkbox is checked
- switch_to_blog() + do_action(‘generate_footer’) not working in multisite
- Show all people who commented on all posts by an author
- Trying to update Woocommerce meta values
- how to replace h1 entry title with h2 in category pages only
- Display Visual Composer shortcode if a post belongs in specific categories
- Custom function that re-writes page title breaks when the Yoast plugin is activated
- Copying and pasting to WordPress “code editor” code via the front end and clipboard
- How to unset a function from a action inside a class, that is called in another class
- Create a new account on site B with data from the purchase of site A
- Why is the current page loaded in the pop-up window and not the specified one?
- Add Featured Image to Existing Post
- How to add and subtract user meta values after post meta update
- Multiple AJAX handler functions conflict in functions.php
- How to get latest post ID in functions.php?
- is_front_page is not working in my functions.php
- Is it possible to update the dataset using update_post_meta
- Billing detail page doesn’t work after I’ve changed the order of the Woocommerce navigation
- add another variable to php function
- How to remove get_header From all single pages in wordpress with functions.php without plugin?
- Contain multiple page templates in one PHP custom template file in WordPress?
- if get_post_meta is empty echo a placeholder or shortcode
- How do I reopen the (Popup Maker) after entering the correct password for a password protected page?
- Display metabox galleries on specific page template in admin editor
- PHP function for horizontal Woocommerce thumbnails and badges
- copy fields value to another field
- display condition based on post term and status
- Only the first image uploads
- How to output the taxonomies that are assigned to each custom post?
- Limit Search to Product Pages only unless I’m on Blogpage or Blogposts
- WP query posts BUT show the most recent and one per author
- Block error message in foreach loop when looping through ACF field
- Include User ID in iFrame URL
- WP custom posts: filter results to custom taxonomy tag that corresponds to user meta field
- not outputting medium size image URL
- Gutenberg block don’t save rich text content