Created
February 28, 2019 18:37
-
-
Save wp-seopress/82481c02e3a8cf33af3a569620cef9ef to your computer and use it in GitHub Desktop.
Filter Dublin Core source
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
| function sp_dublin_core_source($html) { | |
| //you can add here all your conditions as if is_page(), is_category() etc.. | |
| $html = '<meta name="dc.source" content="https://www.seopress.org/" />'; | |
| return $html; | |
| } | |
| add_filter('seopress_dublin_core_source', 'sp_dublin_core_source'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment