Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A 'short way' example of removing text via add_filter in WordPress
<?php
/**
* Removes the text (short way).
*/
add_filter( 'my_filter', '__return_empty_string' );
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.