1792* @since 3.6.01793*1794* @param bool$display Whether to display the dialog.Defaulttrue.1795* @param WP_Post$post Post object.1796* @param WP_User$user The user with the lock for the post.1797*/1798if(!apply_filters('show_post_locked_dialog',true,$post,$user)){1799return;1800}18011802$locked=true;1803}else{1804$locked=false;
History
Introduced in 3.6.0. Unchanged from 6.7.7 through 7.1.0.