do_action( 'clanbite_social_kit_post_created', int $result, array<string, mixed> $data )Mirror composer-created post hook for compatibility with mentions/integrations.
The post is written by the site, not typed by the member, so the payload carries system_generated and source. Rewards (Points) must not treat it as the member posting: it announces points they already earned.
Action PHP
Parameters
$result(int)Post ID.
$data(array<string, mixed>)Post payload.
Example
add_action( 'clanbite_social_kit_post_created', function ( $result, $data ) {
// Run your code.
}, 10, 2 );Defined in inc/Ranks/Rank_Status_Updates.php
Changelog
| Version | Description |
|---|---|
| 1.2.3 | Updated. |