1806* @since 3.6.01807*1808* @param bool$display Whether to display the dialog.Defaulttrue.1809* @param WP_Post$post Post object.1810* @param WP_User$user The user with the lock for the post.1811*/1812if(!apply_filters('show_post_locked_dialog',true,$post,$user)){1813return;1814}18151816$locked=true;1817}else{1818$locked=false;
History
Introduced in 3.6.0. Unchanged from 6.7.7 through 7.1.0.