Support » Plugin: Regions for WP Job Manager » Add a filter to the taxonomy registration to allow other post types

  • Hey!

    I would love to see a filter within the plugin to allow using the taxonomy “job_listing_region” also for other post types.
    This allows more rich integrations and helps to build better data sets.

    Example for wp-job-manager-locations/includes/class-taxonomy.php 36 and on:

    register_taxonomy( 'job_listing_region',
    	apply_filters( 'wp_job_manager_regions_post_types_for_taxonomy', array( 'job_listing', ) ),
    	array( [...]

    Happy to answer any questions.

    Greetings
    derRALF

    • This topic was modified 1 year, 7 months ago by  Drivingralle. Reason: Better code snippet
  • The topic ‘Add a filter to the taxonomy registration to allow other post types’ is closed to new replies.