Forked from cobaltapps/freelancer-action-filter-example.php
Created
March 7, 2019 02:06
-
-
Save DalavanCloud/a7ae916767aba5f32325252d5d0f4d5e 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