Skip to content

Method

Removes the AJAX callback from the proper hook.

remove_ajax_callback_hook( )

public

Source

public function remove_ajax_callback_hook() {
    $ajax_callback = $this->get_ajax_callback();
    if ( $ajax_callback ) {
        remove_action( 'tml_action_ajax_' . $this->get_name(), $ajax_callback, 15 );
    }
}

Uses

Changelog

VersionDescription
7.1 Introduced.