wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



override_post_lock › Filtr WordPress Hooks

Od3.6.0
Przestarzałyn/a
› apply_filters( 'override_post_lock', true, $post, $user )
Parametry: (3)
  • () override Whether to allow the post lock to be overridden. Default true.
    Wymagane: Tak
  • () post Post object.
    Wymagane: Tak
  • () user The user with the lock for the post.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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