admin_post_nopriv WordPress Action Hook

The admin_post_nopriv hook is called when a user is not logged in and attempts to access the WordPress admin area. This can be useful for customizing the login page or for displaying a message to users that they must be logged in to access the admin area.

do_action( 'admin_post_nopriv' ) #

Fires on a non-authenticated admin post request where no action is supplied.


Source

File: wp-admin/admin-post.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
2.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.