View Product Page

Actions

includes/class-yith-wcbr-shortcode-premium.php

Copied!
Copy

Allows to fire some action before shortcode handling

Params
 string $shortcode Shortcode name
 array  $atts      Shortcode attributes

Copied!
Copy

Allows to fire some action after shortcode handling

Params
 string $shortcode Shortcode name
 array  $atts      Shortcode attributes

includes/class-yith-wcbr.php

Copied!
Copy

Allows to fire some action before enqueueing the plugin style


includes/importer/class-yith-wcbr-csv-importer.php

Copied!
Copy

Allows to manage some extra fields in the CSV import

Params
 string $row    Import row
 string $header Import header
 array  $id     Term data

init.php

Copied!
Copy

Allows the plugin initialization


templates/loop-brands.php

Copied!
Copy

Allows to render some content or fire some action when the brand has no logo

Params
 int     $term_id         Term ID
 WP_Term $term            Term object
 string  $image_size      Image size
 bool    $show_term_name  Whether to show the brand name
 bool    $show_avg_rating Whether to show the brand rating

templates/shortcodes/brand-grid-loop.php

Copied!
Copy

Allows to render some content or fire some action when the brand has no logo

Params
 int     $term_id         Term ID
 WP_Term $term            Term object
 string  $image_size      Image size
 bool    $show_term_name  Whether to show the brand name
 bool    $show_avg_rating Whether to show the brand rating

templates/shortcodes/brand-thumbnail-carousel.php

Copied!
Copy

Allows to render some content or fire some action when the brand has no logo

Params
 int     $term_id         Term ID
 WP_Term $term            Term object
 string  $image_size      Image size
 bool    $show_term_name  Whether to show the brand name
 bool    $show_avg_rating Whether to show the brand rating

templates/shortcodes/brand-thumbnail.php

Copied!
Copy

Allows to render some content or fire some action when the brand has no logo

Params
 int     $term_id         Term ID
 WP_Term $term            Term object
 string  $image_size      Image size
 bool    $show_term_name  Whether to show the brand name
 bool    $show_avg_rating Whether to show the brand rating

templates/single-product-brands.php

Copied!
Copy

Allows to render some content or fire some action when the brand has no logo

Params
 int     $term_id         Term ID
 WP_Term $term            Term object
 string  $image_size      Image size
 bool    $show_term_name  Whether to show the brand name
 bool    $show_avg_rating Whether to show the brand rating