Jake Vanderwerf
2025-11-10 627056f72e761c1386e4ab4d72207008d9330a5e
taxonomies/_setup.php
File was renamed from taxonomies/setup.php
@@ -20,24 +20,28 @@
 *             -> add use_in_stats (bool) to use the field in user statistics
 */
require(AJV_DIR . '/taxonomies/city.php');
require(AJV_DIR . '/taxonomies/form.php');
require(AJV_DIR . '/taxonomies/media.php');
require(AJV_DIR . '/taxonomies/progress.php');
require(AJV_DIR . '/taxonomies/age.php');
require(AJV_DIR . '/taxonomies/body-part.php');
require(AJV_DIR . '/taxonomies/goal.php');
require(AJV_DIR . '/taxonomies/person.php');
require(AJV_DIR . '/taxonomies/section.php');
require(AJV_DIR . '/taxonomies/skin-type.php');
require(AJV_DIR . '/taxonomies/style.php');
require(AJV_DIR . '/taxonomies/target.php');
require(AJV_DIR . '/taxonomies/theme.php');
require(AJV_DIR . '/taxonomies/timeline.php');
//add_filter('jvb_taxonomy', 'ajv_taxonomy');
function ajv_taxonomy():array
add_filter('jvb_taxonomy', 'altr_taxonomy');
function altr_taxonomy():array
{
    return [
        'city'      => ajv_city(),
        'style'     => ajv_style(),
        'theme'     => ajv_theme(),
        'form'      => ajv_form(),
        'medium'    => ajv_media(),
        'target'    => ajv_target(),
        'progress'  => ajv_progress(),
        'age'       => altr_age(),
        'body-part' => altr_body_part(),
        'goal'      => altr_goal(),
        'person'    => altr_person(),
        'skin-type' => altr_skin_type(),
        'timeline'  => altr_timeline(),
        'style'     => altr_style(),
        'theme'     => altr_theme(),
        'section'   => altr_section(),
    ];
}