how can I get the name of the CPT having the slug of a Taxonomy? example:
$name_cpt = get_post_type_object( $slug_taxonomy );
but this returns
Does anyone know how to obtain it by means of the slug of the taxonomy?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community