Make WordPress Core


Ignore:
Timestamp:
04/27/2023 11:13:36 PM (3 years ago)
Author:
johnbillion
Message:

Docs: All sorts of improvements and corrections to function and hook docs.

See #57840

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r55677 r55694  
    825825        /**
    826826         * Fires after the theme is switched.
     827         *
     828         * See {@see 'after_switch_theme'}.
    827829         *
    828830         * @since 1.5.0
     
    33873389                if ( $old_theme->exists() ) {
    33883390                        /**
    3389                          * Fires on the first WP load after a theme switch if the old theme still exists.
     3391                         * Fires on the next WP load after the theme has been switched.
    33903392                         *
    3391                          * This action fires multiple times and the parameters differs
    3392                          * according to the context, if the old theme exists or not.
    3393                          * If the old theme is missing, the parameter will be the slug
     3393                         * The parameters differ according to whether the old theme exists or not.
     3394                         * If the old theme is missing, the old name will instead be the slug
    33943395                         * of the old theme.
     3396                         *
     3397                         * See {@see 'switch_theme'}.
    33953398                         *
    33963399                         * @since 3.3.0
Note: See TracChangeset for help on using the changeset viewer.