Sure, Reuben — simply check for the existence of the post_type
query variable right at the top of check_textarea_length()
function:
if ( $_GET['post_type'] != 'name_of_your_post_type' ) return;
Sure, Reuben — simply check for the existence of the post_type
query variable right at the top of check_textarea_length()
function:
if ( $_GET['post_type'] != 'name_of_your_post_type' ) return;