wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_should_disable_pings_for_environment › WordPress Filter Hooks
Since7.1.0
Deprecatedn/a
› apply_filters( 'wp_should_disable_pings_for_environment', $should_disable, $environment_type )
| Parameters: (2) |
|
| Defined at: |
|
| Codex: |
Filters whether pings should be disabled for the current environment.
Returning false re-enables pings in non-production environments. Returning true disables pings even in production.Related Functions: wp_should_disable_pings_for_environment, wp_maybe_disable_outgoing_pings_for_environment, wp_maybe_disable_xmlrpc_pingback_for_environment, wp_maybe_disable_trackback_for_environment, wp_schedule_single_event, wp_should_replace_insecure_home_url