Advertisement
bowenac

Untitled

Jun 3rd, 2014
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.45 KB | None | 0 0
  1.     /**
  2.      * Start up
  3.      */
  4.     public function __construct()
  5.     {
  6.         add_action( 'admin_menu', array( $this, 'add_amazon_affiliate_products_page' ) );
  7.         add_action( 'admin_init', array( $this, 'page_init' ) );
  8.         add_shortcode( 'test123shortcode', 'testShortcode');
  9.     }
  10.  
  11.  /**
  12.  * SHORTCODE output
  13.  */
  14. function testShortcode()
  15. {
  16.   $output .='<h1>testing shortcode its working if you see this...</h1>';
  17.   return $output;  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement