Created
April 29, 2020 10:09
-
-
Save anik/9bc03f072da6b3ea2128e05ae35335ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('wpcf_default_single_campaign_tabs', 'single_tab_callback', 9); | |
function single_tab_callback( $tabs = array() ) { | |
$tabs['extra_tab'] = array( | |
'title' => __( 'Add Extra Tab', 'text_domain' ), | |
'callback' => 'tab_content_callback' | |
); | |
return $tabs; | |
} | |
function tab_content_callback(){ | |
echo '<h3>This is Tab Content</h3>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can we re-order this new tab follow by the Campaign Story?