WordPress at a glance
function is not described

wp_ajax_press_this_add_category() WP 4.2.0

Deprecated in 4.9.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Ajax handler for creating new category from Press This.

No Hooks.

Return

Null. Nothing.

Usage

wp_ajax_press_this_add_category();

Changelog

Since DEL 4.9.0 Introduced.

Code of wp ajax press this add category: wp-includes/deprecated.php WP 5.2.2

<?php
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.' ) ) );
	}
}