wp_ajax_press_this_save_post

Ajax handler for saving a post from Press This.

Description

wp_ajax_press_this_save_post(); 

Usage

  1. if ( !function_exists( 'wp_ajax_press_this_save_post' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/ajax-actions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wp_ajax_press_this_save_post(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/ajax-actions.php  
  1. function wp_ajax_press_this_save_post() { 
  2. include( ABSPATH . 'wp-admin/includes/class-wp-press-this.php' ); 
  3. $wp_press_this = new WP_Press_This(); 
  4. $wp_press_this->save_post();