Created
August 2, 2020 22:57
-
-
Save jb510/b0bf5e6572754d64b810708bd77d3599 to your computer and use it in GitHub Desktop.
Hide Post Editor Tip about permalinks being the last part of the URL on the WordPress post editor
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
<?php | |
/** | |
* Hide Post Editor Tip about permalinks | |
*/ | |
add_action( 'admin_head', 's9_hide_permalink_tip' ); | |
function s9_hide_permalink_tip() { | |
echo '<style>'; | |
echo '#editor .edit-post-sidebar .editor-post-link .components-base-control + p { display: none; }'; | |
echo '</style>'; | |
} | |
Author
jb510
commented
Aug 13, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment