Skip to content

wpt_tags

github-actions[bot] edited this page Jun 14, 2026 · 1 revision

Add a new template tag placeholder.

Auto-generated Example

add_filter(
   'wpt_tags',
    function( array array ) {
        // Your code here.
        return array;
    }
);

Parameters

  • array array $tags Array of strings for each tag, e.g. 'blog' for #blog#. Other variable names: $string_list

Returns

array

Files

apply_filters( 'wpt_tags', array( 'url', 'title', 'blog', 'post', 'category', 'categories', 'date', 'author', 'displayname', 'tags', 'modified', 'reference', 'account', '@', 'cat_desc', 'longurl' ) )

← All Hooks

Clone this wiki locally