wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
wp_ajax_press_this_add_category is deprecated since version 4.9.0!
wp_ajax_press_this_add_category › WordPress Function
Da4.2.0
Deprecato4.9.0
› wp_ajax_press_this_add_category ( Nessun parametro )
Definito a: |
|
Codex: |
Ajax handler for creating new category from Press This.
Funzioni correlate: wp_ajax_press_this_save_post, wp_ajax_add_link_category, wp_load_press_this, wp_create_category, wp_ajax_add_tag
Sorgenti
function wp_ajax_press_this_add_category() { _deprecated_function( __FUNCTION__, '4.9.0' ); if ( is_plugin_active( 'press-this/press-this-plugin.php' ) ) { include WP_PLUGIN_DIR . '/press-this/class-wp-press-this-plugin.php'; $wp_press_this = new WP_Press_This_Plugin(); $wp_press_this->add_category(); } else { wp_send_json_error( array( 'errorMessage' => __( 'The Press This plugin is required.' ) ) ); } }