메소드 | 설명 | |
---|---|---|
__construct ( Settings $settings, integer $id ) | Constructor. | |
perform ( boolean $doing_async = false, $user_id = null ) : boolean | Perform the push action. |
메소드 | 설명 | |
---|---|---|
clean_workspace ( ) | Clean up the workspace. | |
generate_article ( ) | Use the export action to get an instance of the Exporter. Use that to manually generate the workspace for upload, then clean it up. | |
get ( ) | Get the post using the API data. | |
is_post_in_sync ( ) : boolean | Check if the post is in sync before updating in Apple News. | |
process_errors ( array $errors ) | Processes errors, halts publishing if needed. | |
push ( integer $user_id = null ) | Push the post using the API data. |
public __construct ( Settings $settings, integer $id ) | ||
$settings | Settings | |
$id | integer |