Method
Adds the callback to the proper hook.
add_callback_hook( )
public
Source
public function add_callback_hook() {
$callback = $this->get_callback();
if ( $callback ) {
add_action( 'tml_action_' . $this->get_name(), $callback, 15 );
}
} View src/includes/class-theme-my-login-action.php, line 229 on GitHub
Uses
Changelog
| Version | Description |
|---|---|
| 7.0.3 | Introduced. |