Make WordPress Core


Ignore:
Timestamp:
03/06/2014 02:10:04 PM (13 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-includes/class-wp-customize-manager.php.

Props kpdesign for the typo fix.
Fixes #27296.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r27419 r27433  
    217217                }
    218218
     219                /**
     220                 * Fires once the Customizer theme preview has started.
     221                 *
     222                 * @since 3.4.0
     223                 *
     224                 * @param WP_Customize_Manager $this WP_Customize_Manager instance.
     225                 */
    219226                do_action( 'start_previewing_theme', $this );
    220227        }
    … …  
    247254                }
    248255
     256                /**
     257                 * Fires once the Customizer theme preview has stopped.
     258                 *
     259                 * @since 3.4.0
     260                 *
     261                 * @param WP_Customize_Manager $this WP_Customize_Manager instance.
     262                 */
    249263                do_action( 'stop_previewing_theme', $this );
    250264        }
    … …  
    311325         */
    312326        public function wp_loaded() {
     327
     328                /**
     329                 * Fires once WordPress has loaded, allowing scripts and styles to be initialized.
     330                 *
     331                 * @since 3.4.0
     332                 *
     333                 * @param WP_Customize_Manager $this WP_Customize_Manager instance.
     334                 */
    313335                do_action( 'customize_register', $this );
    314336
    … …  
    376398                }
    377399
     400                /**
     401                 * Fires once the Customizer preview has initialized and JavaScript
     402                 * settings have been printed.
     403                 *
     404                 * @since 3.4.0
     405                 *
     406                 * @param WP_Customize_Manager $this WP_Customize_Manager instance.
     407                 */
    378408                do_action( 'customize_preview_init', $this );
    379409        }
    … …  
    542572                }
    543573
     574                /**
     575                 * Fires once the theme has switched in the Customizer, but before settings
     576                 * have been saved.
     577                 *
     578                 * @since 3.4.0
     579                 *
     580                 * @param WP_Customize_Manager $this WP_Customize_Manager instance.
     581                 */
    544582                do_action( 'customize_save', $this );
    545583
    … …  
    548586                }
    549587
     588                /**
     589                 * Fires after Customize settings have been saved.
     590                 *
     591                 * @since 3.6.0
     592                 *
     593                 * @param WP_Customize_Manager $this WP_Customize_Manager instance.
     594                 */
    550595                do_action( 'customize_save_after', $this );
    551596
Note: See TracChangeset for help on using the changeset viewer.