-
Notifications
You must be signed in to change notification settings - Fork 81
activitypub_json_encode_options
github-actions[bot] edited this page Aug 18, 2025
·
8 revisions
Options to be passed to json_encode().
/**
* Options to be passed to json_encode().
*
* @param int $options
* @return int The filtered value.
*/
function my_activitypub_json_encode_options_callback( int $options ) {
// Your code here.
return $options;
}
add_filter( 'activitypub_json_encode_options', 'my_activitypub_json_encode_options_callback' );
-
int
$options
The current options flags.
\apply_filters( 'activitypub_json_encode_options', $options )
Follow @[email protected] for updates and news.