Skip to content

wpt_custom_tab

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

Display the custom tab container in XPoster Pro.

Auto-generated Example

add_action(
   'wpt_custom_tab',
    function(
        int $post_ID,
        string string
    ) {
        // Your code here.
    },
    10,
    2
);

Parameters

  • int $post_ID Post ID.
  • string string $visibility 'visible' or 'hidden'. Other variable names: $visible, $hidden

Files

do_action( 'wpt_custom_tab', $post->ID, 'visible' )
do_action( 'wpt_custom_tab', $post->ID, 'hidden' )

← All Hooks

Clone this wiki locally