Currently only allows you to query "Pages". However add an additional param to allow you to query other post types. The method below ensures this is backwards compatible.
function tanlinell_get_protected_name_query_obj( $protected_page, $post_type = 'page' ) {
Currently only allows you to query "Pages". However add an additional param to allow you to query other post types. The method below ensures this is backwards compatible.