Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ctest_shortcode($atts) {
- extract(shortcode_atts(array(
- 'a' => '11111'
- ), $atts));
- ob_start();
- get_template_part('test');
- return ob_get_clean();
- }
- add_shortcode('test', 'ctest_shortcode');
Add Comment
Please, Sign In to add comment