PluginProbe
Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder / 3.1.4
Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder v3.1.4
3.1.4 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.0.7 3.0.5 3.0.4 3.0.3 3.0.2 trunk 1.5.0 1.5.1 1.5.2 1.6.1 1.6.2 1.6.3 1.6.4 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 All 93 releases
← All changes | includes/builder/builder-template-helper.php +2 -5 3.1.03.1.4 View file →
@@ -130,18 +130,15 @@
130 130 }
131 131
132 132 $separator = static::separator();
133 133 $template = strtolower( "{$postType}{$separator}{$slug}" );
134 - $enabledTemplate = strtolower( Meta::TEMPLATE_ID . $template );
135 -
136 134 /**
137 135 * important area for debugging
138 136 */
139 137
140 - return get_option( $enabledTemplate );
138 + return Meta::get_template_option( $template );
141 139 }
142 140
143 141 public static function getTemplateId( $templateType ) {
144 - $metaIndex = strtolower( Meta::TEMPLATE_ID . $templateType );
145 - return intval( get_option( $metaIndex ) );
142 + return intval( Meta::get_template_option( $templateType ) );
146 143 }
147 144 }