Method
Set the action slug.
set_slug( string $slug )
public
Parameters
-
$slugstring - The action slug.
Source
public function set_slug( $slug ) {
if ( empty( $slug ) ) {
$slug = $this->get_name();
}
$this->slug = $slug;
} View src/includes/class-theme-my-login-action.php, line 320 on GitHub
Uses
Used by
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |