WordPress filter hook

AtlasAiDev_is_local

Fired by 4 WordPress plugins, running on 4,310+ sites between them.

How to use AtlasAiDev_is_local

It's a filter: your callback receives the value, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'AtlasAiDev_is_local', function( $isset ) {
	// Change $isset here.
	return $isset;
}, 10, 1 );

Argument names come from Text To Speech TTS Accessibility's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

4 plugins that fire AtlasAiDev_is_local

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Text To Speech TTS Accessibility icon Text To Speech TTS Accessibility4,000+ installs apply_filters( 'AtlasAiDev_is_local', isset( $_SERVER['REMOTE_ADDR'] ) ? in_array( $_SERVER['REMOTE_ADDR'], [ '127.0.0.1', '::1' ] ) : true ) libs/AtlasAiDev/Insights.php:419
  2. MCP Server for WordPress icon MCP Server for WordPress300+ installs apply_filters( 'AtlasAiDev_is_local', isset( $_SERVER['REMOTE_ADDR'] ) ? in_array( $_SERVER['REMOTE_ADDR'], [ '127.0.0.1', '::1' ] ) : true ) libs/AtlasAiDev/Insights.php:419
  3. 3D Viewer icon 3D Viewer10+ installs apply_filters( 'AtlasAiDev_is_local', isset( $_SERVER['REMOTE_ADDR'] ) ? in_array( $_SERVER['REMOTE_ADDR'], [ '127.0.0.1', '::1' ] ) : true ) libs/AtlasAiDev/Insights.php:419
  4. Smart Local AI icon Smart Local AIFewer than 10 installs apply_filters( 'AtlasAiDev_is_local', isset( $_SERVER['REMOTE_ADDR'] ) ? in_array( $_SERVER['REMOTE_ADDR'], [ '127.0.0.1', '::1' ] ) : true ) libs/AtlasAiDev/Insights.php:434

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.