Skip to content

wpt_authors_tab

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

Render actions relevant only when multiple users are enabled.

Auto-generated Example

add_action(
   'wpt_authors_tab',
    function(
        int $post_ID,
        array $selected
    ) {
        // Your code here.
    },
    10,
    2
);

Parameters

  • int $post_ID Post ID.
  • array $selected Selected users for current post.

Files

do_action( 'wpt_authors_tab', $post->ID, $selected )

← All Hooks

Clone this wiki locally