Class | Method | Comment | |
---|---|---|---|
ImportPostWp | + __construct() | ||
ImportPostWp | + delete_posts() | Delete all post of a specific category | |
ImportPostWp | + get_data() | Return data array | |
ImportPostWp | + get_default_post_values() | Return default values for the optional field list | |
ImportPostWp | + get_elapsed_time() | Get elapsed time | |
ImportPostWp | + get_field_list() | Return the field name list | |
ImportPostWp | + get_insert_errors() | Return an array of the not inserted rows | |
ImportPostWp | + insert_posts() | Insert all posts in Wordpress DB | |
ImportPostWp | # prepare_categories() | Loop through data and search ID categories on WP database. | |
ImportPostWp | + raw_insert_posts() | Insert all posts in Wordpress DB | |
ImportPostWp | + reset_time() | reset elapsed time | |
ImportPostWp | + set_default_comment_status() | Set default values for the field 'comment_status' | |
ImportPostWp | + set_default_ping_status() | Set default values for the field 'ping_status' | |
ImportPostWp | + set_default_post_author() | Set default values for the field 'post_author' | |
ImportPostWp | + set_default_post_status() | Set default values for the field 'post_status' | |
ImportPostWp | + set_default_post_type() | Set default values for the field 'post_type' |