View Product Page

Filters

class-yith-woocommerce-catalog-mode-premium.php

Copied!
Copy

Last chance to change the Form tab title

 Params  string $tab_title The title of the tab. 
 
Return string

Copied!
Copy

Hook where print the inquiry form

 Params  string $hook The hook name. 
 
Return string

Copied!
Copy

Priority to apply to the function

 Params  int $priority The hook priority. 
 
Return int

Copied!
Copy

Last chance to change the Form tab title

 Params  string $tab_title The title of the form. 
 
Return string

Copied!
Copy

The wrapper of the form title

 Params  string $title_wrapper The wrapper of the form. 
 
Return string

Copied!
Copy

Hook where print the custom button

 Params  string $hook The hook name. 
 
Return string

Copied!
Copy

Priority to apply to the function

 Params  int $priority The hook priority. 
 
Return int

Copied!
Copy

Hook where print the custom button

 Params  string $hook The hook name. 
 
Return string

Copied!
Copy

Hooks enabled for single product page

 Params  array $page_actions The hooks list. 
 
Return array

Copied!
Copy

Hooks enabled for shop page

 Params  array $loop_actions The hooks list. 
 
Return array

Copied!
Copy

Additional classes for custom button

 Params  string $custom_classes Additional class.  int    $button_id      The button ID. 
 
Return string

Copied!
Copy

Check if button link opens in new page

 Params  bool $value     Check if button link should open in new page.  int  $button_id The button ID. 
 
Return bool

Copied!
Copy

CSS classes of price element

 Params  array $args The CSS classes array. 
 
Return array

Copied!
Copy

CSS classes of price element

 Params  array $args The CSS classes array. 
 
Return array

class-yith-woocommerce-catalog-mode.php

Copied!
Copy

Hide variations only on loop

 Params  bool $hide_variations Check if variations should be hidden on loop. 
 
Return bool

Copied!
Copy

CSS selectors of elements that should be hidden

 Params  array $args The CSS classes array. 
 
Return array

Copied!
Copy

CSS selector of cart widgets

 Params  array $args The CSS classes array. 
 
Return array

Copied!
Copy

CSS selector of add to cart buttons

 Params  array $args The CSS classes array. 
 
Return array

Copied!
Copy

CSS selector of add to cart buttons

 Params  array $args The CSS classes array. 
 
Return array

includes/class-ywctm-button-label-post-type.php

Copied!
Copy

Add or remove supported fonts from editor

 Params  array $fonts Supported fonts list. 
 
Return array

Copied!
Copy

Add or remove supported font sizes

 Params  array $fonts Supported font sizes. 
 
Return array

includes/ywctm-functions-premium.php

Copied!
Copy

Add or remove supported Google Fonts
Sample pattern to use:
array(
'Roboto' => '\'Roboto\',sans-serif',
);

 Params  array $google_fonts Supported fonts. 
 
Return array

Actions

class-yith-woocommerce-catalog-mode-premium.php

Copied!
Copy

Execute code before printing the inquiry form

 Params  WC_Product $product The current Product. 

Copied!
Copy

Execute code after printing the inquiry form

 Params  WC_Product $product The current Product.