Last active
February 10, 2017 03:08
-
-
Save gatespace/fc4ee98da4c67e417c84bf33a090fbf6 to your computer and use it in GitHub Desktop.
WordPress の投稿編集画面でコメントアウトを使えるようにする ref: http://qiita.com/gatespace/items/623ae078fff14f20e4ba
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 | |
| /** | |
| * 投稿内でコメントアウトできるようにする | |
| */ | |
| function ignore_shortcode( $atts, $content = null ) { | |
| return null; | |
| } | |
| add_shortcode( 'ignore', 'ignore_shortcode', '9999' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment