Method
Get an action.
get_action( string $action )
public
Parameters
-
$actionstring - The action name.
Return
Theme_My_Login_Action|bool
The action object if it exists or false otherwise.
Source
public function get_action( $action ) {
if ( isset( $this->actions[ $action ] ) ) {
return $this->actions[ $action ];
}
return false;
} View src/includes/class-theme-my-login.php, line 121 on GitHub
Used by
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |