PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 2.2.10
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v2.2.10
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
← All changes | admin/views/class-sps-settings.php +6 -4 2.4.212.2.10 View file →
@@ -21,12 +21,14 @@
21 21 * @return void
22 22 */
23 23 public static function settings( $prefix ) {
24 24
25 + $capability = sp_pc_dashboard_capability(); // TODO: filter is not working.
26 +
25 27 SP_PC::createOptions(
26 28 $prefix,
27 29 array(
28 - 'menu_title' => __( 'Settings', 'post-carousel' ),
30 + 'menu_title' => __( 'Settings', 'smart-post-show' ),
29 31 'menu_parent' => 'edit.php?post_type=sp_post_carousel',
30 32 'menu_type' => 'submenu', // menu, submenu, options, theme, etc.
31 33 'menu_slug' => 'pcp_settings',
32 34 'theme' => 'light',
@@ -32,12 +34,12 @@
32 34 'theme' => 'light',
33 35 'show_all_options' => false,
34 36 'show_search' => false,
35 37 'show_footer' => false,
36 - 'show_bar_menu' => false,
37 - 'show_reset_all' => false,
38 + 'show_bar_menu' => false,
38 39 'class' => 'sp-pc-settings',
39 - 'framework_title' => __( 'Smart Post Show', 'post-carousel' ),
40 + 'framework_title' => __( 'Smart Post Show', 'smart-post-show' ),
41 + 'menu_capability' => $capability,
40 42 )
41 43 );
42 44
43 45 SPS_Advanced::section( $prefix );