Changeset 27902
- Timestamp:
- 04/02/2014 03:01:31 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-section.php
r27398 r27902 10 10 */ 11 11 class WP_Customize_Section { 12 12 13 /** 14 * WP_Customize_Manager instance. 15 * 16 * @since 3.4.0 13 17 * @access public 14 *15 18 * @var WP_Customize_Manager 16 19 */ … … 20 23 * Unique identifier. 21 24 * 25 * @since 3.4.0 26 * @access public 22 27 * @var string 23 28 */ … … 27 32 * Priority of the section which informs load order of sections. 28 33 * 34 * @since 3.4.0 35 * @access public 29 36 * @var integer 30 37 */ 31 public $priority 38 public $priority = 10; 32 39 33 40 /** 34 41 * Capability required for the section. 35 42 * 43 * @since 3.4.0 44 * @access public 36 45 * @var string 37 46 */ 38 public $capability = 'edit_theme_options'; 47 public $capability = 'edit_theme_options'; 48 49 /** 50 * Theme feature support for the section. 51 * 52 * @since 3.4.0 53 * @access public 54 * @var string|array 55 */ 39 56 public $theme_supports = ''; 40 57 … … 42 59 * Title of the section to show in UI. 43 60 * 61 * @since 3.4.0 62 * @access public 44 63 * @var string 45 64 */ 46 public $title 65 public $title = ''; 47 66 48 67 /** 49 68 * Description to show in the UI. 50 69 * 70 * @since 3.4.0 71 * @access public 51 72 * @var string 52 73 */ 53 public $description = ''; 74 public $description = ''; 75 76 /** 77 * Customizer controls for this section. 78 * 79 * @since 3.4.0 80 * @access public 81 * @var array 82 */ 54 83 public $controls; 55 84 … … 61 90 * @since 3.4.0 62 91 * 63 * @param WP_Customize_Manager $manager 92 * @param WP_Customize_Manager $manager Customizer bootstrap instance. 64 93 * @param string $id An specific ID of the section. 65 94 * @param array $args Section arguments.
Note: See TracChangeset
for help on using the changeset viewer.