Deprecated
This method has been deprecated.
AnsPress_Ajax::hover_card()
Description #
Handle Ajax callback for user hover card
Source #
File: includes/ajax-hooks.php
public static function hover_card() { if ( ap_opt( 'disable_hover_card' ) ) { wp_die(); } $id = (int) ap_sanitize_unslash( 'id', 'p' ); $type = ap_sanitize_unslash( 'type', 'request', 'user' ); if ( ! ap_verify_default_nonce() ) { wp_die(); } /** * AP Hover card actions. * * @param integer $id ID. */ do_action( 'ap_hover_card_' . $type, $id ); wp_die(); }
Expand full source code Collapse full source code View on GitHub: includes/ajax-hooks.php:297
Add your comment