diff --git a/example.php b/example.php index 0764128..7f39fd2 100644 --- a/example.php +++ b/example.php @@ -63,6 +63,7 @@ function yourprefix_init() { ), 'list' => array( // 'per_page' => 40 // This will force the per page initial value + 'parent_slug' => '', // Add the new fake-CPT to the root // The columns arg is a shortcut of the manage_columns and manage_sortable_columns commonly required hooks 'columns' => array( 'title' => array( @@ -460,4 +461,4 @@ function yourprefix_common_get_object_meta( $object, $field_name, $request ) { // Update object meta callback function yourprefix_common_update_object_meta( $value, $object, $field_name ) { return ct_update_object_meta( $object[ 'id' ], $field_name, $value ); -} \ No newline at end of file +}