wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



override_post_lock › Les Filtres WordPress

Depuis3.6.0
Dépréciéen/a
› apply_filters( 'override_post_lock', true, $post, $user )
Paramètres: (3)
  • () override Whether to allow the post lock to be overridden. Default true.
    Requis: Oui
  • () post Post object.
    Requis: Oui
  • () user The user with the lock for the post.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether to allow the post lock to be overridden.

Returning false from the filter will disable the ability to override the post lock.




Source

$override = apply_filters( 'override_post_lock', true, $post, $user );