wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



override_post_lock › WordPress Filter Hooks

Da3.6.0
Deprecaton/a
› apply_filters( 'override_post_lock', true, $post, $user )
Parametri: (3)
  • () override Whether to allow the post lock to be overridden. Default true.
    Richiesto: Sì
  • () post Post object.
    Richiesto: Sì
  • () user The user with the lock for the post.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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