SHARE
TWEET

Do_Shortcode dengan Pembuka-Penutup, URL, PHP

pustakakoran Jan 28th, 2017 (edited) 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. It's WORK!
  2.  
  3. <?php
  4. $my_judul = get_the_title();
  5. if( ! empty( $my_judul ) ) {
  6. echo do_shortcode( '[pms-restrict subscription_plans="21,22,23,27"]<a target="_blank" href="http://example.com/' . $my_judul . '.epub">CLICK UNTUK UNDUH</a>[/pms-restrict]' );
  7. }
  8. ?>
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