daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest Nov 19th, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function ctest_shortcode($atts) {
  2.     extract(shortcode_atts(array(
  3.         'a' => '11111'
  4.     ), $atts));
  5.     ob_start();
  6.     get_template_part('test');
  7.     return ob_get_clean();
  8. }
  9. add_shortcode('test', 'ctest_shortcode');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top