Created
October 23, 2019 21:45
-
-
Save billerickson/cfea79cd8fb43c34f01fdd91509df9b3 to your computer and use it in GitHub Desktop.
This file contains 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
add_action( ‘init’, function() { | |
$args = array( | |
‘public’ => true, | |
‘label’ => ‘News’, | |
‘show_in_rest’ => true, | |
‘template_lock’ => ‘all’, | |
‘template’ => array( | |
array( ‘core/paragraph’, array( | |
‘placeholder’ => ‘Breaking News’, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment