wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_auto_approve_ping › WordPress Filter Hooks

Seit7.1.0
Veraltetn/v
apply_filters( 'wp_auto_approve_ping', $approve_pingback, $source_id, $url )
Parameter: (3)
  • () approve_pingback Whether to auto-approve the pingback.
    Erforderlich: Ja
  • () source_id ID of the post on this site the pingback originated from, or 0 if it came from elsewhere.
    Erforderlich: Ja
  • () url The URL the pingback was sent from.
    Erforderlich: Ja
Definiert in:
Codex:

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

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




Quellcode

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