Advertisement
verygoodplugins

Untitled

Apr 6th, 2021
907
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. function my_skip_auto_login_uri( $request_uris ) {
  2.  
  3.     $request_uris[] = 'wp-json';
  4.  
  5.     return $request_uris;
  6. }
  7.  
  8. add_filter( 'wpf_skip_auto_login_request_uris', 'my_skip_auto_login_uri' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement