get_instance() get_instance() : object Return an instance of this class. Returns object — A single instance of this class.
on_save_post() on_save_post(string $new, string $old, object $post) Update streams whenever any post status is changed Parameters string $new new post status string $old old post status object $post WordPress post object