Wordpress Tricks

WordPress default logout function

Wordpress default logout function


Hello, welcome to therichpost.com. In this post, I will tell you WordPress default logout function. WordPress is the best cms.

Here is the WordPress function to WordPress default logout function:

<?php echo wp_logout_url( site_url().’/login’ ); ?>”>

This is the another example:

<a href=”<?php echo wp_logout_url( site_url().’/login’ ); ?>”><i class=”fa fa-sign-out” aria-hidden=”true”></i>&nbsp;&nbsp;logout</a>

There are so many tricks in wordpress and i will let you know all. Please do comment if you any query related to this post. Thank you. Therichpost.com

Ajay Malhotra
the authorAjay Malhotra
Hello to all. Welcome to therichpost.com. Myself Ajay Malhotra and I am full stack developer. I love coding. I know Wordpress, Core php, Angularjs, Angular 2, Angular 6, Angular 7, laravel, Codeigniter, Shopify, Squarespace, Jquery, Google Map Api, Vuejs, Reactjs, Bigcommerce etc.

Leave a Reply

Positive SSL