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