Method | Description | |
---|---|---|
add_hooks ( ) | Set up assorted actions and filters used by this class. | |
do_migration ( ) : integer | null | Do the bulk of the migration. | |
get_all_revisions ( ) : array | Get all revisions of the Jetpack CSS CPT entry. | |
get_options ( integer $post_id = null ) : array | Get the options stored for a given revision ID. | |
get_post ( ) : array | boolean | null | WP_Post | Get the post used for legacy storage. | |
register_legacy_post_type ( ) | Re-register the legacy CPT so we can play with the content already in the database. |
public static add_hooks ( ) |
public static do_migration ( ) : integer | null | ||
return | integer | null |
public static get_all_revisions ( ) : array | ||
return | array |
public static get_options ( integer $post_id = null ) : array | ||
$post_id | integer | Post ID. |
return | array |
public static register_legacy_post_type ( ) |