Search
 
SCRIPT & CODE EXAMPLE
 

PHP

logout url wordpress

/wp-login.php?action=logout

Comment

wordpress logout redirect to home

// On functions.php of your child theme or in a code snippet:
add_action('wp_logout','auto_redirect_after_logout');
function auto_redirect_after_logout(){
  wp_redirect( home_url() );
  exit();
}
Comment

PREVIOUS NEXT
Code Example
Php :: use php var in js 
Php :: unique key value array php 
Php :: advantages of php 
Php :: laravel swagger install 
Php :: office 2013 
Php :: laravel validation not equal to 
Php :: laravel Impossible to create the root directory 
Php :: php artisan tinker encription cmd 
Php :: get all sort by laravel 
Php :: php json_decode not working 
Php :: php header x forwarder for 
Php :: foreign key cosntraint laravel 
Php :: laravel make password 
Php :: .htaccess Prevent access to php.ini 
Php :: php include external directory path 
Php :: wp_debug 
Php :: Laravel Adding Cookie Consent 
Php :: Add Text Before the Product Title 
Php :: seprate day and year from laravel to timestamp 
Php :: ?? Null Coalescing Operator PHP 
Php :: laravel create on model 
Php :: codeigniter session destroy automatically after redirect 
Php :: laravel faker values 
Php :: laravel hash namespace 
Php :: how to call js function from php 
Php :: wordpress use jquery in plugin 
Php :: laravel redis cache 
Php :: get return value from another function laravel 
Php :: remove blank data in multidimention array in laravel 
Php :: how to use attempt in laravel 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =