| | |
| | | * - approve_new = (bool) if true, admin/verified users need to approve before 'live' |
| | | * - track_changes = (bool) if true, table is created to track historical changes |
| | | * - for_content = (array) of post type slugs, as defined in JVB_CONTENT |
| | | * - fields = (array) of custom field definitions, from inc/managers/MetaManager.php |
| | | * - fields = (array) of custom field definitions, from inc/managers/Meta.php |
| | | * -> add use_in_stats (bool) to use the field in user statistics |
| | | */ |
| | | |
| | | require(AJV_DIR . '/taxonomies/age.php'); |
| | | require(AJV_DIR . '/taxonomies/body-part.php'); |
| | | require(AJV_DIR . '/taxonomies/goal.php'); |
| | | require(AJV_DIR . '/taxonomies/number.php'); |
| | | require(AJV_DIR . '/taxonomies/person.php'); |
| | | require(AJV_DIR . '/taxonomies/section.php'); |
| | | require(AJV_DIR . '/taxonomies/skin-type.php'); |
| | |
| | | require(AJV_DIR . '/taxonomies/theme.php'); |
| | | require(AJV_DIR . '/taxonomies/timeline.php'); |
| | | |
| | | add_filter('jvb_taxonomy', 'altr_taxonomy'); |
| | | //add_filter('jvb_taxonomy', 'altr_taxonomy'); |
| | | function altr_taxonomy():array |
| | | { |
| | | return [ |
| | | 'age' => altr_age(), |
| | | 'number' => altr_number(), |
| | | 'body-part' => altr_body_part(), |
| | | 'goal' => altr_goal(), |
| | | 'person' => altr_person(), |