SHOW:
|
|
- or go back to the newest paste.
| 1 | - | [affiliate is affiliate] |
| 1 | + | <?php |
| 2 | - | |
| 2 | + | if ( affiliates_user_is_affiliate( get_current_user_id() ) ) {
|
| 3 | - | <?php echo do_shortcode( get_field('field_name') );?>
|
| 3 | + | echo do_shortcode( get_field( 'field_name' ) ); |
| 4 | - | |
| 4 | + | } |
| 5 | - | [/affiliate is affiliate] |
| 5 | + | ?> |