Changeset 30607 for trunk/src/wp-includes/class-wp-customize-panel.php
- Timestamp:
- 11/28/2014 11:02:49 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-panel.php
r30214 r30607 111 111 112 112 /** 113 * Callback.113 * Active callback. 114 114 * 115 115 * @since 4.1.0 … … 119 119 * 120 120 * @var callable Callback is called with one argument, the instance of 121 * WP_Customize_Section, and returns bool to indicate whether122 * the section is active (such as it relates to the URL121 * {@see WP_Customize_Section}, and returns bool to indicate 122 * whether the section is active (such as it relates to the URL 123 123 * currently being previewed). 124 124 */ … … 174 174 * @since 4.1.0 175 175 * 176 * @param bool $active Whether the Customizer panel is active.177 * @param WP_Customize_Panel $panel WP_Customize_Panelinstance.176 * @param bool $active Whether the Customizer panel is active. 177 * @param WP_Customize_Panel $panel {@see WP_Customize_Panel} instance. 178 178 */ 179 179 $active = apply_filters( 'customize_panel_active', $active, $panel ); … … 183 183 184 184 /** 185 * Default callback used when invoking WP_Customize_Panel::active().185 * Default callback used when invoking {@see WP_Customize_Panel::active()}. 186 186 * 187 187 * Subclasses can override this with their specific logic, or they may … … 202 202 * @since 4.1.0 203 203 * 204 * @return array The array to be exported to the client as JSON 204 * @return array The array to be exported to the client as JSON. 205 205 */ 206 206 public function json() { … … 237 237 * @since 4.1.0 238 238 * 239 * @return string 239 * @return string Content for the panel. 240 240 */ 241 241 public final function get_content() {
Note: See TracChangeset
for help on using the changeset viewer.