Skip to main content
13 events
when toggle format what by license comment
Feb 18, 2021 at 15:51 vote accept Nick
Feb 17, 2021 at 10:54 answer added Nick timeline score: 0
Feb 16, 2021 at 16:14 comment added Nick @kero, is it also possible to add the php method using the plugin wordpress.org/plugins/code-snippets ? (because I'd rather not change anything directly inside the theme)
Feb 16, 2021 at 15:10 answer added Buttered_Toast timeline score: 0
Feb 16, 2021 at 15:06 comment added Buttered_Toast @kero wp_logout_url is a wordpress function not a PHP method, wp_logout_url returns a logout url, thats it. you can create a html a tag with href and output wp_logout_url there
Feb 16, 2021 at 14:56 review Close votes
Feb 19, 2021 at 4:17
Feb 16, 2021 at 14:50 comment added Nick All right, thanks, I was afraid of that. It just felt strange that it's not a regular option in Wordpress itself.
Feb 16, 2021 at 14:42 comment added kero @Buttered_Toast I think OP is currently only using wp-admin tools, where they manually added a menu item with the posted URL. @Nick wp_logout_url() is a PHP method, you need to familiarize yourself with PHP, find a plugin that solves this, or hire someone to do it for you.
Feb 16, 2021 at 14:37 comment added Nick @Buttered_Toast, the problem is I have no idea how to use wp_logout_url() or pass it something...
Feb 16, 2021 at 14:34 comment added Buttered_Toast If you use wp_logout_url() and pass it the urn (without the domain) that you want the user to be redirected to after logout, you will not see any confirmation request.
Feb 16, 2021 at 14:34 review First posts
Feb 17, 2021 at 9:30
Feb 16, 2021 at 14:33 comment added kero Without PHP you probably can't do this.
Feb 16, 2021 at 14:28 history asked Nick CC BY-SA 4.0