agents_manager_agent_id

agents_manager_agent_id

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.15.9

apply_filters('agents_manager_agent_id') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-agents-manager/src/class-agents-manager.php line 270
    		 * the frontend as `agentsManagerData.agentId` and consumed by `useAgentConfig()`.
    		 *
    		 * @param string|null $agent_id The agent ID to use, or null for default behavior.
    		 */
    		$agent_id = apply_filters( 'agents_manager_agent_id', null );
    
    		$this->enqueue_script( $variant );
    
    		$inline_data = array(
    			'agentProviders'       => $agent_providers,
    			'useUnifiedExperience' => $use_unified_experience,