Class
Class used to implement the action object.
Methods
-
__construct()Construct the instance.
-
add_ajax_callback_hook()Adds the AJAX callback to the proper hook.
-
add_callback_hook()Adds the callback to the proper hook.
-
get_ajax_callback()Get the action AJAX callback.
-
get_callback()Get the action callback.
-
get_name()Get the action name.
-
get_slug()Get the action slug.
-
get_title()Get the action title.
-
get_url()Get the action URL.
-
remove_ajax_callback_hook()Removes the AJAX callback from the proper hook.
-
remove_callback_hook()Removes the callback from the proper hook.
-
set_ajax_callback()Set the action AJAX callback.
-
set_callback()Set the action callback.
-
set_name()protectedSet the action name.
-
set_slug()Set the action slug.
-
set_title()Set the action title.
Properties
-
$ajax_callbackcallable protected - The AJAX action handler.
-
$callbackcallable protected - The action handler.
-
$namestring protected - The action name.
-
$networkbool public - Whether this action is a network action or not.
-
$show_in_nav_menusbool public - Whether this action should be shown for use in nav menus or not.
-
$show_in_slug_settingsbool public - Whether this action should be shown in the slug settings or not.
-
$show_in_widgetbool public - Whether this action should be selectable in the widget or not.
-
$show_nav_menu_itembool public - Whether to show the nav menu item or not when this action is assigned to a nav menu.
-
$show_on_formsbool public - Whether a link to the action should be shown on forms or not.
-
$slugstring protected - The action slug.
-
$titlestring protected - The action title.
Source
View src/includes/class-theme-my-login-action.php, line 15 on GitHub
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |