* @since 5.0.0 */ protected function _getUnitTypeSlugByOutputArguments( $sUnitTypeSlug, $aArguments ) { if ( isset( $aArguments[ 'asin' ] ) ) { return $this->sUnitTypeSlug; } if ( isset( $aArguments[ 'search' ] ) ) { return $this->sUnitTypeSlug; } return isset( $aArguments[ 'Keywords' ] ) ? $this->sUnitTypeSlug : $sUnitTypeSlug; } /** * @return string * @since 3.5.0 */ protected function _getLabel() { return __( 'Product Search', 'amazon-auto-links' ); } }