Method
Adds the AJAX callback to the proper hook.
add_ajax_callback_hook( )
public
Source
public function add_ajax_callback_hook() {
$ajax_callback = $this->get_ajax_callback();
if ( $ajax_callback ) {
add_action( 'tml_action_ajax_' . $this->get_name(), $ajax_callback, 15 );
}
} View src/includes/class-theme-my-login-action.php, line 275 on GitHub
Uses
Changelog
| Version | Description |
|---|---|
| 7.1 | Introduced. |