init_content_wc_notice_controls(); if ( ! function_exists( 'WC' ) ) { return; } /*----Content Tab----*/ do_action( 'eael/wcpc/before-content-controls', $this ); $this->init_content_product_compare_controls(); $this->init_content_table_settings_controls(); do_action( 'eael/wcpc/after-content-controls', $this ); /*----Style Tab----*/ do_action( 'eael/wcpc/before-style-controls', $this ); $this->init_style_content_controls(); $this->init_style_table_controls(); do_action( 'eael/wcpc/after-style-controls', $this ); } protected function render() { if ( ! function_exists( 'WC' ) ) { return; } $ds = $this->get_settings_for_display(); $product_ids = $this->get_settings_for_display( 'product_ids' ); $products = $this->get_products_list( $product_ids ); $fields = $this->fields(); $this->render_compare_table( compact( 'products', 'fields', 'ds' ) ); } }