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



show_post_locked_dialog › WordPress Filter Hooks

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

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




Sorgenti

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