Created
November 18, 2018 21:00
-
-
Save sumnermic/e1f1b7b640c498331b10738f1b20cf29 to your computer and use it in GitHub Desktop.
WordPress Code Snippets: Custom WordPress Thank You Text
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
{ | |
"generator": "Code Snippets v2.10.1.1", | |
"date_created": "2018-11-18 20:58", | |
"snippets": [ | |
{ | |
"name": "Custom WordPress Thank You Text", | |
"desc": "Immediately display a custom WordPress Thank you text using HTML.", | |
"tags": [ | |
"admin" | |
], | |
"scope": "global", | |
"code": "add_filter('admin_footer_text', 'mg_thankyou');\r\nfunction mg_thankyou() {\r\n\t?>\r\n\t<span id=\"footer-thankyou\">Thank you for creating with the <a href=\"https://wordpress.org/\" target=\"_blank\" rel=\"noopener\">Best CMS ever!</a></span>\r\n\t<?php \r\n}" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment