true ) ); foreach ( $types as $post_type ) { if ( ! in_array( $post_type, array( 'cfs', 'attachment' ) ) ) { $post_types[] = $post_type; } } $extras = get_post_meta( $post->ID, 'cfs_extras', true ); if ( ! isset( $extras['hide_editor'] ) ) { $extras['hide_editor'] = ''; } if ( ! isset( $extras['order'] ) ) { $extras['order'] = 0; } if ( ! isset( $extras['context'] ) ) { $extras['context'] = 'normal'; } ?>
| /> /> | |
|
create_field(array(
'type' => 'true_false',
'input_name' => "cfs[extras][hide_editor]",
'input_class' => 'true_false',
'value' => $extras['hide_editor'],
'options' => array( 'message' => __( 'Hide the content editor', 'cfs' ) ),
));
?>
|