Changeset 1854205
- Timestamp:
- 04/06/2018 02:40:32 PM (8 years ago)
- Location:
- power-ups-for-elementor/trunk
- Files:
-
- 2 edited
-
panel.php (modified) (2 diffs)
-
power-ups-for-elementor.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
power-ups-for-elementor/trunk/panel.php
r1854178 r1854205 10 10 Panel 11 11 */ 12 //Register Settings 13 function elpug_register_settings(){ 14 register_setting( $option_group, 'elpug_portfolio_switch', $args = array( 'default' => 1, ) ); 15 register_setting( $option_group, 'elpug_slider_switch', $args = array( 'default' => 1, ) ); 16 register_setting( $option_group, 'elpug_blogroll_switch', $args = array( 'default' => 1, ) ); 17 register_setting( $option_group, 'elpug_team_switch', $args = array( 'default' => 1, ) ); 18 register_setting( $option_group, 'elpug_testimonials_switch', $args = array( 'default' => 1, ) ); 19 } 20 elpug_register_settings(); 21 12 22 add_action('admin_menu', 'elpug_setup_menu'); 13 23 … … 33 43 //Create Settings 34 44 $option_group = 'elpug_powerups'; 35 36 register_setting( $option_group, 'elpug_portfolio_switch', $args = array( 'default' => 1, ) );37 register_setting( $option_group, 'elpug_slider_switch', $args = array( 'default' => 1, ) );38 register_setting( $option_group, 'elpug_blogroll_switch', $args = array( 'default' => 1, ) );39 register_setting( $option_group, 'elpug_team_switch', $args = array( 'default' => 1, ) );40 register_setting( $option_group, 'elpug_testimonials_switch', $args = array( 'default' => 1, ) );41 42 45 43 46 // Color Section -
power-ups-for-elementor/trunk/power-ups-for-elementor.php
r1854178 r1854205 24 24 ); 25 25 } ); 26 27 /* 28 * Plugin Options 29 */ 30 require ('panel.php'); 26 31 27 32 /* … … 69 74 } 70 75 } 71 /*72 * Plugin Options73 */74 require ('panel.php');
Note: See TracChangeset
for help on using the changeset viewer.