Home Wordpress Tricks Wordpress default logout function

Wordpress default logout function

by therichpost
0 comments
How to add custom meta title and meta description in Wordpress?

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

You may also like

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.