Post TypeTypeParameters"; $args=array('_builtin'=>FALSE); foreach ( get_post_types( $args, 'names' ) as $post_type ) { $post_type_lables=$post_type."_labels"; $post_type_removecols=$post_type."_removecols"; echo ""; echo ""; echo "Fields"; echo ""; echo ""; echo ""; echo ""; echo "Labels"; echo ""; echo ""; echo ""; echo ""; echo "Remove Columns"; echo ""; echo ""; echo ""; echo ""; echo ""; } echo ""; } function acc_settings_section_callback( ) { echo __( 'Add your custom fields and labels for sorting and filtering for the corresponding post type as comma separated values in the Parameters Box', 'test' ); } function acc_options_page( ) { ?>

Custom columns

Refer to the Documentation on a2il Website

Quick doc

Fields can be prefixed with following chars for a special meaning:

%colname
Use the colname value to design a post_id, and return the post_title. Link to post edit
!colname
Use the colname value to design a post_id, and return the post_title. Link to post admin list
/colname
Use the colname value as an URL, so return a link to the value
#type=column
Use type as a post_type, then return the count of post_type where column = this->ID
@colID=colVAL
Return the colVAL of post where colID = this->ID