Make WordPress Core


Ignore:
Timestamp:
07/03/2021 09:41:02 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Add and correct examples of common names for various dynamic hooks.

See #53581

File:
1 edited

Legend:

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

    r49670 r51327  
    14121412             *
    14131413             * The dynamic portion of the hook name, `$permastructname`, refers
    1414              * to the name of the registered permastruct, e.g. 'post_tag' (tags),
    1415              * 'category' (categories), etc.
     1414             * to the name of the registered permastruct.
     1415             *
     1416             * Possible hook names include:
     1417             *
     1418             *  - `category_rewrite_rules`
     1419             *  - `post_format_rewrite_rules`
     1420             *  - `post_tag_rewrite_rules`
    14161421             *
    14171422             * @since 3.1.0
Note: See TracChangeset for help on using the changeset viewer.