public function render_page() { ob_start(); WC_Admin_Attributes::output(); $html = ob_get_clean(); // Replacement to fix item edition links. if ($this->original_page_slug != $this->extended_page_slug) { $html = str_replace('page=' . $this->original_page_slug, 'page=' . $this->extended_page_slug, $html); } print $this->add_own_field($html); $this->load_assets(); }
/** * Init the attributes page. */ public function attributes_page() { WC_Admin_Attributes::output(); }