PluginProbe ʕ •ᴥ•ʔ
Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets / 3.8.1
Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets v3.8.1
4.2.5 4.2.4 trunk 3.7.10 3.7.11 3.7.12 3.7.13 3.7.14 3.7.2 3.7.5 3.7.6 3.7.7 3.7.8 3.7.9 3.8 3.8.1 3.8.10 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.8.8 3.8.9 3.8.9.1 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4 3.9.5 3.9.6 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.5.1 4.0.6 4.0.6.1 4.0.7 4.0.8 4.0.9 4.1.0 4.1.1 4.1.2 4.1.3 4.2.0 4.2.1 4.2.2 4.2.3
widget-options / includes / admin / settings / modules / permission.php
widget-options / includes / admin / settings / modules Last commit date
acf.php 7 years ago alignment.php 9 years ago animation.php 4 years ago beaver_builder.php 8 years ago cache.php 4 years ago classes.php 8 years ago classic-widgets-screen.php 4 years ago clone.php 4 years ago columns.php 4 years ago dates.php 4 years ago devices.php 9 years ago disable_widgets.php 4 years ago elementor.php 8 years ago fixed.php 4 years ago import-export.php 8 years ago links.php 4 years ago logic.php 9 years ago move.php 8 years ago permission.php 4 years ago roles.php 4 years ago search.php 9 years ago shortcodes.php 4 years ago sidebar-more_plugins.php 4 years ago sidebar-opt_in.php 4 years ago sidebar-support_box.php 4 years ago sidebar-upsell_pro.php 4 years ago siteorigin.php 9 years ago sliding.php 4 years ago state.php 7 years ago styling.php 4 years ago taxonomies.php 4 years ago title.php 9 years ago urls.php 4 years ago visibility.php 9 years ago widget-area.php 8 years ago
permission.php
37 lines
1 <?php
2 /**
3 * Alignment Settings Module
4 * Settings > Widget Options :: Custom Alignment
5 *
6 * @copyright Copyright (c) 2016, Jeffrey Carandang
7 * @since 3.0
8 */
9
10 // Exit if accessed directly
11 if ( ! defined( 'ABSPATH' ) ) exit;
12
13 /**
14 * Create Card Module for Custom Alignment Options
15 *
16 * @since 3.0
17 * @return void
18 */
19 if( !function_exists( 'widgetopts_settings_permissions' ) ):
20 function widgetopts_settings_permissions(){ ?>
21 <li class="widgetopts-module-card widgetopts-module-type-pro" data-module-id="permission">
22 <div class="widgetopts-module-card-content">
23 <a href="<?php echo apply_filters('widget_options_site_url', trailingslashit(WIDGETOPTS_PLUGIN_WEBSITE).'features/');?>" target="_blank" class="widgetopts-pro-upsell"></a>
24 <h2><?php _e( 'Permission', 'widget-options' );?></h2>
25 <div class="widgetopts-pro-label"><span class="dashicons dashicons-lock"></span></div>
26 <p class="widgetopts-module-desc">
27 <?php _e( 'Hide widget options tabs below each widgets to selected user roles.', 'widget-options' );?>
28 </p>
29 </div>
30 </li>
31
32 <?php
33 }
34 add_action( 'widgetopts_module_cards', 'widgetopts_settings_permissions', 160 );
35 endif;
36 ?>
37