Changeset 30608
- Timestamp:
- 11/28/2014 11:09:32 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-section.php
r30329 r30608 120 120 121 121 /** 122 * Callback.122 * Active callback. 123 123 * 124 124 * @since 4.1.0 … … 128 128 * 129 129 * @var callable Callback is called with one argument, the instance of 130 * WP_Customize_Section, and returns bool to indicate whether131 * the section is active (such as it relates to the URL130 * {@see WP_Customize_Section}, and returns bool to indicate 131 * whether the section is active (such as it relates to the URL 132 132 * currently being previewed). 133 133 */ … … 179 179 180 180 /** 181 * Filter response of WP_Customize_Section::active().181 * Filter response of {@see WP_Customize_Section::active()}. 182 182 * 183 183 * @since 4.1.0 184 184 * 185 185 * @param bool $active Whether the Customizer section is active. 186 * @param WP_Customize_Section $section WP_Customize_Sectioninstance.186 * @param WP_Customize_Section $section {@see WP_Customize_Section} instance. 187 187 */ 188 188 $active = apply_filters( 'customize_section_active', $active, $section ); … … 192 192 193 193 /** 194 * Default callback used when invoking WP_Customize_Section::active().195 * 196 * Subclasses can override this with their specific logic, or they may 197 * providean 'active_callback' argument to the constructor.194 * Default callback used when invoking {@see WP_Customize_Section::active()}. 195 * 196 * Subclasses can override this with their specific logic, or they may provide 197 * an 'active_callback' argument to the constructor. 198 198 * 199 199 * @since 4.1.0 … … 211 211 * @since 4.1.0 212 212 * 213 * @return array The array to be exported to the client as JSON 213 * @return array The array to be exported to the client as JSON. 214 214 */ 215 215 public function json() { … … 246 246 * @since 4.1.0 247 247 * 248 * @return string 248 * @return string Contents of the section. 249 249 */ 250 250 public final function get_content() { … … 317 317 * @package WordPress 318 318 * @subpackage Customize 319 * 319 320 * @since 4.1.0 321 * 322 * @see WP_Customize_Section 320 323 */ 321 324 class WP_Customize_Sidebar_Section extends WP_Customize_Section { … … 342 345 * @since 4.1.0 343 346 * 344 * @return array The array to be exported to the client as JSON 347 * @return array The array to be exported to the client as JSON. 345 348 */ 346 349 public function json() {
Note: See TracChangeset
for help on using the changeset viewer.