Jake Vanderwerf
2026-08-29 f859e64a57c624ff2daa2b21355f65a49fd4807d
base/content.php
@@ -1,4 +1,7 @@
<?php
if (!defined('ABSPATH')) {
   exit;
}
/**
 * JVB_CONTENT: Base post type definitions
 *     Structure:  slug=> [$options]
@@ -18,9 +21,9 @@
 *      - rewrites      = (array) key = associated taxonomy; value = what to append to rewrite base
 */
$defaults = [];
if (array_key_exists('has_support', JVB_SITE) && JVB_SITE['has_support'] === true) {
   $defaults = array_merge($defaults, jvb_support_post_type());
}
//if (!empty(JVB_SITE) && array_key_exists('has_support', JVB_SITE) && JVB_SITE['has_support'] === true) {
// $defaults = array_merge($defaults, jvb_support_post_type());
//}
$content = array_merge($defaults, apply_filters('jvb_content', []));
define('JVB_CONTENT', $content);