10, 'type' => 'filter', 'callback' => array( $this, 'woocommerce_product_get_image' ), 'args' => 3 ); $hooks['before_title']['archive']['woocommerce_product_title'] = array( 'priority' => 10, 'type' => 'filter', 'callback' => array( $this, 'woocommerce_product_title' ), 'args' => 2 ); $hooks['before_title']['archive']['martfury_woo_shop_loop_item_title'] = array( 'priority' => 5 ); $hooks['before_title']['single']['martfury_single_product_summary'] = array( 'priority' => 4 ); $hooks['before_title']['single']['martfury_single_product_deal_summary'] = array( 'priority' => 4 ); return $hooks; } /* * Add labels for 'on image' position */ public function woocommerce_product_get_image( $image, $obj, $size ) { if ( isset( $this->data['show_labels'] ) && $this->data['show_labels'] ) { $image = '