Last active
March 7, 2019 02:06
-
-
Save cobaltapps/097ea6672cfe24cf3bc0f2e46d3cd846 to your computer and use it in GitHub Desktop.
An example of what an applied filter might look like inside a theme when compared to a non filtered value.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// "Read More" text value without a filter. | |
$read_more_text = 'Continue reading...'; | |
// "Read More" text value a filter applied. | |
$read_more_text = apply_filters( 'theme_read_more_text', 'Continue reading...' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment