wpseek.com
A WordPress-centric search engine for devs and theme authors



auto_approve_pingback › WordPress Filter Hooks

Since7.2.0
Deprecatedn/a
apply_filters( 'auto_approve_pingback', $approve_pingback, $source_id, $url )
Parameters: (3)
  • () approve_pingback Whether to approve the pingback.
    Required: Yes
  • () source_id ID of the post on this site the pingback originated from, or 0 if it came from elsewhere.
    Required: Yes
  • () url The URL the pingback was sent from.
    Required: Yes
Defined at:
Codex:

Filters whether a pingback is approved without being held for moderation.

Defaults to true for pingbacks originating from a published post on this site, and false for every other pingback. Trackbacks are never considered, as they cannot be verified.




Source

return (bool) apply_filters( 'auto_approve_pingback', $approve_pingback, $source_id, $url );