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