Need function name for conditional loading
-
Love this plugin! Great work!
I want to integrate the login form to my theme with php, but isn’t it always best to have a conditional if statement to skip loading if the plugins function isn’t active?<?php do_action( 'wordpress_social_login' ); ?> // Shouldn't it be? <?php if ( function_exists( 'wordpress_social_login') : do_action( 'wordpress_social_login' ); ?>
Excuse my PHP if not parsed correctly. Haven’t tested it yet.
Thanks!
??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Need function name for conditional loading’ is closed to new replies.