Forums
(@conselhosquesedao)
12 years, 1 month ago
Satriavie,
pagerestrict.php
function pr_page_restrict ( $pr_page_content )
bellow: $pr_page_content = str_replace(‘login’, ‘login‘, $pr_page_content); endif; endif;
I added:
if ( $is_restricted == 1 ) { do_action(‘oa_social_login’); }
12 years, 2 months ago
I added a conditional situation in Page restrict plugin:
if is restricted then oa_social_login
And it worked!
Ty!
Actually it is shown as a HTML comment in browser:
<!–?php do_action(1oa_social_login’); ?–>”