Import legacy nurinda.co.id website
This commit is contained in:
1 parent
3f59bb9038
commit
6e21646ac4
13389 files changed
+3246690
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Gutenberg_Courses\Example_Blocks;
|
||||
|
||||
add_action( 'init', __NAMESPACE__ . '\register_meta_fields' );
|
||||
/**
|
||||
* Registering meta fields for block attributes that use meta storage
|
||||
*/
|
||||
function register_meta_fields() {
|
||||
register_meta(
|
||||
'post',
|
||||
'themepunchblocks_gb_metabox',
|
||||
[
|
||||
'type' => 'string',
|
||||
'single' => true,
|
||||
'show_in_rest' => true,
|
||||
] );
|
||||
}
|
||||
Reference in new issue
Block a user