Skip to content

activitypub_actor_autocomplete_min_length

github-actions[bot] edited this page Jul 17, 2026 · 1 revision

Filters the minimum number of characters required before actors are searched.

Auto-generated Example

/**
 * Filters the minimum number of characters required before actors are searched.
 *
 * @param int $min_length 
 * @return int The filtered value.
 */
function my_activitypub_actor_autocomplete_min_length_callback( int $min_length ) {
    // Your code here.
    return $min_length;
}
add_filter( 'activitypub_actor_autocomplete_min_length', 'my_activitypub_actor_autocomplete_min_length_callback' );

Parameters

  • int $min_length The minimum query length. Default 2.

Files

\apply_filters( 'activitypub_actor_autocomplete_min_length', 2 )

← All Hooks

Users

Developers

Clone this wiki locally