Skip to content

Month: May 2017

Custom-Metabox Documentation

Custom-Metabox Documentation

Quick Start Download Custom-Metabox. Include the custom-metabox/class-ap-custom-metabox-apply.php with your plugin index.php or functions.php file. After that copy & paste this code. add_filter(‘ap_meta_apply’,function($fields){ $fields = array(); $fields[] = array( ‘label’ = ‘Personal Info’, ‘id’ = ‘mi_tm_personal_section’, ‘post_options’ = array( ‘post_type’ = “post”, ‘context’ = ‘normal’, ‘priority’ = ‘default’ ), ‘inputs’ = array( array( ‘label’ = ‘Designation’, ‘name’ = […]

Read more