-
Notifications
You must be signed in to change notification settings - Fork 84
activitypub_json_encode_options
github-actions[bot] edited this page Oct 1, 2025
·
12 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$optionsThe current options flags.
\apply_filters( 'activitypub_json_encode_options', $options )Follow @[email protected] for updates and news.