webberzone.dev Recent

wzkb_github_post_push action Pro only

wzkb_github_post_push

Fires after a KB article has been successfully pushed to GitHub.

Type: action
Since: 3.1.0
Source: includes/github/class-push-handler.php line 208

Parameters

TypeNameDescription
int$post_idPost ID.
array$responseGitHub API response.

Usage

add_action( 'wzkb_github_post_push', function($post_id, $response) {
    // ...
} );