Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Commit

Permalink
Enhancement: Update code to the newest metabox specs
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrillbolliger committed Oct 13, 2016
1 parent 0726025 commit 3fc1ecf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/class-cyboslider-post-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ public function register_post_type() {
* @uses the Meta Box plugin.
* @see http://metabox.io/
*/
public function add_meta_boxes( $meta_boxes ) {
public function add_meta_boxes( $meta_boxes ) {
$prefix = CYBOSLIDER_PLUGIN_PREFIX;

$meta_boxes[] = array(
'id' => $prefix . 'slide_details',
'title' => __( 'Slide details', 'cyboslider' ),
'pages' => array( 'cyboslider' ),
'post_types' => array( 'cyboslider' ),
'context' => 'normal',
'priority' => 'high',
'autosave' => true,
Expand Down

0 comments on commit 3fc1ecf

Please sign in to comment.