condition failing
-
the following condition is failing when the Membership Levels shortcode is added to a tab in woocommerce account management
if(!empty($post->post_content) && strpos($post->post_content, “[pmpro_” . $pmpro_page_name . “]”) !== false )
also the shortcode is rendered and makes a redirect when process the shortcode and customer leave the My Account page.
please advise
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘condition failing’ is closed to new replies.