Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
An example of modifying text via add_filter in Wordpress
add_filter( 'my_filter', 'modify_my_filter_text' );
* Modifies the text.
function modify_my_filter_text() {
return 'Something else';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.