Advertisement
websupporter

WP Create help tab #2

Apr 20th, 2015
485
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.80 KB | None | 0 0
  1. function pwh_add_help_tab () {
  2.     $screen = get_current_screen();
  3.    
  4.     $screen->add_help_tab( array(
  5.         'id'    => 'pwh-help',
  6.         'title' => __( '1. Help Tab', 'pwh' ),
  7.         'content'   => '<p>' . __( 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.', 'pwh' ) . '</p>',
  8.     ) );
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement