This filter was deprecated back in August 2019. Here’s the change log entry :
Deprecation: The genesis_footer_creds_text filter is now deprecated. Developers can point users who want to edit their footer text to the new Genesis footer setting in the Customizer.
If you want to set default footer text for your child theme during theme activation, you should set the footer_text key in your theme’s child-theme-settings.php file.
Code like this will still work :
However, any code using the genesis_footer_creds_text filter will no longer work.
Quick Fix – Code
To make existing code using the genesis_footer_creds_text filter work, simply change the filter from genesis_footer_creds_text to genesis_footer_output and your code should work.
Here’s the code i tested using the latest version of Genesis with the latest version of the Genesis Sample child theme :
You can also write the code like this :
You can also use the hook to modify the value for 1 or more variables.
This is only a snippet of a WordPress Website Design Article written by Brad Dalton
Read Full Article
This Content is Generated from RSS Feeds, if your content is featured and you would like to be removed, please Contact Us With your website address and name of site you wish to be removed from.
You can control what content is distributed in your RSS Feed by using your Website Editor.