Skip to content

Instantly share code, notes, and snippets.

@huanyichuang
Last active February 21, 2019 14:00
Show Gist options
  • Save huanyichuang/0c0e467fa94cc72f0ef862913341dfad to your computer and use it in GitHub Desktop.
Save huanyichuang/0c0e467fa94cc72f0ef862913341dfad to your computer and use it in GitHub Desktop.
Register Custom Post Type
<?php
$args = array(
'template' => array(
array( 'core/heading', array(
'placeholder' => 'Payment Options',
'content' => 'Payment Options',
) ),
array( 'acf/custom-block' ),
array( 'core/heading', array(
'placeholder' => 'Payment Note(s)',
'content' => 'Payment Note(s)',
'level' => 3,
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment