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