Plugin Directory

Changeset 1992169

Timestamp:
12/11/2018 09:11:03 PM (6 years ago)
Author:
midexigner
Message:

update with wordpress new editor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mi-carousel-slider/trunk/mi-carousel.php

    r1978954 r1992169  
    66* Author: MI Dexigner Team
    77* Author URI: https://www.midexigner.com
    8 * Version: 1.0.0
     8* Version: 1..0
    99* License: GPLv2 Or Later
    1010*/
     
    4646            'slug' => 'mi_carousels',
    4747        ), // Permalinks format
    48             'supports' => array('title','editor','thumbnail')
     48            'supports'              => array( 'editor', 'title', 'thumbnail' ),
     49            'show_in_rest' => true,
     50            'rest_base'             => 'campaigns',
     51            'rest_controller_class' => 'WP_REST_Posts_Controller',
     52            'template' => array(
     53            array( 'core/paragraph', array(
     54                'placeholder' => 'Add Description...',
     55            ) ),
     56        ),
     57
     58
    4959        )
    5060    );
Note: See TracChangeset for help on using the changeset viewer.