Viewing 1 replies (of 1 total)
  • Plugin Author averta

    (@averta)

    Dear friend,

    You are expected to take a look at the following page:
    https://masterslider.com/doc/wp/developer/#add-sample-sliders

    As a result, to remove a “sample slider section” you need to use the following code:

    <?php
        // add a new sample slider to starter section
        function my_custom_masterslider_starter_fields( $starters ){
    
            // 'masterslider_samples_group1' is the section id of the default sample sliders
            unset( $starters['masterslider_samples_group1'] );
    
            // make sure to return $starters at the end
            return $starters;
        }
        add_filter( 'masterslider_starter_fields', 'my_custom_masterslider_starter_fields' );
    ?>
    

    Regards
    Averta

Viewing 1 replies (of 1 total)
  • The topic ‘Remove/hide sample sliders’ is closed to new replies.