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



show_post_locked_dialog › Filtr WordPress Hooks

Od3.6.0
Przestarzałyn/a
› apply_filters( 'show_post_locked_dialog', true, $post, $user )
Parametry: (3)
  • () display Whether to display the dialog. 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 show the post locked dialog.

Returning false from the filter will prevent the dialog from being displayed.




Źródło

if ( ! apply_filters( 'show_post_locked_dialog', true, $post, $user ) ) {