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