Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('init', 'my_init_function');
- function my_init_function() {
- /* Make sure the plugin is installed and active */
- if(!defined('FF_INSTALLED')) {
- return;
- }
- ff_create_section('Sections Post', 'post', array(
- 'id' => 'links',
- 'title' => 'Links',
- 'post_types' => array('page'),
- 'hide_content_editor' => false,
- )
- );
- ff_create_field('group uid', 'group', array(
- 'id' => 'Links',
- 'label' => 'Etichetta',
- 'minimal' => false,
- 'repeatable' => true,
- )
- );
- ff_add_field_to_field_group('group uid', 'group uid');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement