Advertisement
phpface

Untitled

Jul 24th, 2017
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1. if( ! function_exists( 'videotube_filter_the_submit_login_form' ) ){
  2.     /**
  3.      *
  4.      * Filter the post submit login form
  5.      *
  6.      * @param html $form
  7.      *
  8.      */
  9.     function videotube_filter_the_submit_login_form( $form ) {
  10.         /**
  11.          *
  12.          * Use the 3rd login/registration form.
  13.          * And enter their shortcode below
  14.          *
  15.          */
  16.         $form = '[the custom login form shortcode]';
  17.        
  18.         return $form;
  19.        
  20.     }
  21.     add_filter( 'submit_form_login_shortcode' , 'videotube_filter_the_submit_login_form', 10, 1 );
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement