SHARE
TWEET

Do Shortcode Membership PMS + Link Download

pustakakoran Apr 19th, 2017 25 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.        <?php
  2.         $my_linkdownload = get_post_meta( get_the_ID(), 'linkdownload', true);
  3.         if( ! empty( $my_linkdownload ) ) {
  4.     echo do_shortcode('[pms-restrict subscription_plans="8"] <a href="' . $my_linkdownload . '" target="_blank"><img src="http://koran.pustakakoran.com/img/etc/pdf.png"> </a>[/pms-restrict]');
  5. }
  6. ?>
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