View Product Page

Filters

includes/admin/class-yith-wcmap-admin-extended.php

Copied!
Copy

Filters the array with the arguments to build the plugin panel

Params
 array $args Array of arguments.

Return array

includes/admin/class-yith-wcmap-admin-premium.php

Copied!
Copy

Filter the available tabs in the plugin panel

Params
 array $tabs Admin tabs.

Return array

Copied!
Copy

Filters the array with the arguments to build the plugin panel

Params
 array $args Array of arguments.

Return array

includes/admin/class-yith-wcmap-admin.php

Copied!
Copy

Filter the available tabs in the plugin panel

Params
 array $tabs Admin tabs.

Return array

Copied!
Copy

Filters the array with the arguments to build the plugin panel

Params
 array $args Array of arguments.

Return array

Copied!
Copy

Filters the array with the arguments to print the endpoints in the plugin panel

Params
 array Array of arguments.

Return array

Copied!
Copy

Filters whether to disable filtering the media library

Params
 bool $disable_filter_media_library Whether to disable filtering the media library or not.

Return bool

includes/admin/yith-wcmap-admin-functions.php

Copied!
Copy

Filters the array with the arguments needed to print the item in the plugin panel

Params
 array Array of arguments.

Return array

includes/class-yith-wcmap-autoloader.php

Copied!
Copy

Filters the mapped filters to autoload

Params
 array $files Mapped files.

Return array

includes/class-yith-wcmap-avatar.php

Copied!
Copy

Filters whether the users can upload a custom avatar

Params
 bool $users_can_upload_avatar Whether the users can upload a custom avatar or not.

Return bool

Copied!
Copy

Filters the avatar size

Params
 int $size Avatar size.

Return int

Copied!
Copy

Filters whether to prevent the user to upload a custom avatar

Params
 bool  $prevent_upload_user_avatar Whether to prevent the user to upload a custom avatar or not.
 array $avatar_data                Data of the uploaded avatar.

Return bool

includes/class-yith-wcmap-banners.php

Copied!
Copy

Filters the banners list

Params
 array $banners Banners list.

Return array

Copied!
Copy

Filters the order count in the banner

Params
 int $order_count Order count.

Return int

Copied!
Copy

Filters the total count of the banner counter depending on the counter type.
$counter_type will be replaced with the counter type of the banner

Params
 int $count    Total count.
 int $customer User ID.

Return int

Copied!
Copy

Filters the key of the banners to display

Params
 array $banners_key Key of the banners to display.
 array

includes/class-yith-wcmap-extended.php

Copied!
Copy

Filters the compatible plugins

Params
 array $plugins Compatible plugins.

Return array

includes/class-yith-wcmap-frontend-extended.php

Copied!
Copy

Filters whether to enable the scroll in the Ajax navigation

Params
 bool $enable_ajax_navigation_scroll Whether to enable the scroll in the Ajax navigation or not.

Return bool

Copied!
Copy

Filters the main content selector in the My Account page

Params
 string $main_content_selector Main content selector.

Return string

includes/class-yith-wcmap-frontend-premium.php

Copied!
Copy

Filters the CSS classes for the group in the menu

Params
 array  $classes CSS classes.
 string $group   Group key.
 array  $options Item options.

Return array

Copied!
Copy

Filters the array of arguments needed to print the group

Params
 array  $args Array of arguments.

Return array

Copied!
Copy

Filters whether to not redirect to the default endpoint

Params
 bool $no_redirect_to_default Whether to not redirect to the default endpoint.

Return bool

Copied!
Copy

Filters the default endpoint

Params
 string $default_endpoint Default endpoint key.

Return string

Copied!
Copy

Filters whether skip the role check for administrators

Params
 bool $skip_check_for_administrators Whether skip the role check for administrators or not.

Return bool

includes/class-yith-wcmap-frontend.php

Copied!
Copy

Filters the menu items

Params
 array $menu_items Menu items.

Return array

Copied!
Copy

Filters whether the menu item is visible

Params
 bool   $visible Whether the menu item is visible or not.
 string $item    Item key.
 array  $options Item options.

Return bool

Copied!
Copy

Filters whether the My Account page has menu

Params
 bool $my_account_have_menu Whether the My Account page has menu or not.

Return bool

Copied!
Copy

Filters whether to replace double line breaks with paragraph elements in the endpoint content

Params
 bool  $wpautop_content Whether to replace double line breaks with paragraph elements or not.
 array $endpoint        Endpoint.

Return bool

Copied!
Copy

Filters the endpoint content

Params
 string $content   Endpoint content.
 array  $endpoint  Endpoint.
 WP_User $customer User object.

Return string

Copied!
Copy

Filters the title of the My Account page

Params
 string $page_title Page title.
 array  $endpoint   Endpoint.

Return string

Copied!
Copy

Filters the custom CSS variables

Params
 array $variables Custom CSS variables.

Return array

Copied!
Copy

Filters the custom CSS rules

Params
 string $inline_css Custom CSS rules.

Return string

Copied!
Copy

Filters whether the current page is the My Account page

Params
 bool $is_myaccount Whether is the My Account page or not.

Return bool

Copied!
Copy

Filters the array with the arguments needed for the menu template

Params
 array $args Array with arguments.

Return array

Copied!
Copy

Filters the template name for the Downloads endpoint

Params
 string $template_name Template name.

Return string

Copied!
Copy

Filters the template name for the Dashboard endpoint

Params
 string $template_name Template name.

Return string

Copied!
Copy

Filters the CSS classes for the endpoint in the menu

Params
 array  $classes  CSS classes.
 string $item    Item key.
 array  $options Item options.

Return array

Copied!
Copy

Filters the array of arguments needed to print the endpoint

Params
 array  $args    Array of arguments.
 string $item    Item key.
 array  $options Item options.

Return array

includes/class-yith-wcmap-items.php

Copied!
Copy

Filters the items

Params
 array $items Items.

Return array

Copied!
Copy

Filters the default items

Params
 array $default_items Default items.

Return array

Copied!
Copy

Filters the plugins items

Params
 array $plugins_items Plugins items.

Return array

Copied!
Copy

Filters the item types

Params
 array $item_types Item types.

Return array

Copied!
Copy

Filters the items before initialization

Params
 array $items Items.

Return array

Copied!
Copy

Filters whether to skip rewriting endpoint

Params
 bool   $skip_add_rewrite_endpoint Whether to skip rewriting endpoint or not.
 string $key                       Endpoint key.

Return bool

includes/class-yith-wcmap-security-premium.php

Copied!
Copy

Filters whether reCaptcha is enabled

Params
 bool $enable_recaptcha Whether reCaptcha is enabled or not.

Return bool

includes/class-yith-wcmap-security.php

Copied!
Copy

Filters whether to skip the account verification

Params
 string $skip_verification Whether to skip account verification or not. Possible values: 'yes' or 'no' (default).
 int    $customer_id       Customer ID.

Return string

Copied!
Copy

Filters the notice message based on the context.
$context will be replaced with the message context

Params
 string $msg Message.

Return string

includes/class-yith-wcmap.php

Copied!
Copy

Filter whether the current request has been made for an admin page

Params
 bool $is_admin Whether the current request has been made for an admin page or not.

Return bool

includes/compatibilities/class-yith-wcmap-membership-compatibility.php

Copied!
Copy

Filters the endpoint content for the integration with YITH WooCommerce Membership

Params
 string $shortcode Shortcode to use in the endpoint content.
 string $title     Shortcode title.

Return string

includes/compatibilities/class-yith-wcmap-request-quote-compatibility.php

Copied!
Copy

Filters the array with the arguments to get the user quotes

Params
 array $attrs Array of attributes.

Return array

includes/compatibilities/class-yith-wcmap-wc-membership-compatibility.php

Copied!
Copy

Filters the array of arguments needed to print the endpoint

Params
 array  $args     Array of arguments.
 string $endpoint Endpoint key.
 array  $options  Endpoint options.

Return array

includes/compatibilities/class-yith-wcmap-wishlist-compatibility.php

Copied!
Copy

Filters the params to view the wishlist page

Params
 string $query_var_results Query var results.
 array  $params            Array of parameters.

Return array

Copied!
Copy

Filters whether to change the URL to view the wishlist, to view it on the My Account page

Params
 bool $filter_wishlist_url Whether to change the URL to view the wishlist or not.

Return bool

includes/email/class-yith-wcmap-verify-account.php

Copied!
Copy

Filters the array with the attributes needed for the email template

Params
 array $atts Array of attributes.

Return array

Copied!
Copy

Filters the URL to verify the account

Params
 string $url URL to verify the account.

Return string

Copied!
Copy

Filters the array with the attributes needed for the plain email template

Params
 array $atts Array of attributes.

Return array

includes/yith-wcmap-functions-premium.php

Copied!
Copy

Filters the default options for new groups

Params
 array  $options Group options.
 string $group   Group key.

Return array

Copied!
Copy

Filters the default options for new links

Params
 array  $options  Link options.
 string $endpoint Endpoint link key.

Return array

includes/yith-wcmap-functions.php

Copied!
Copy

Filters the default options for new endpoints

Params
 array  $options  Endpoint options.
 string $endpoint Endpoint key.

Return array

Copied!
Copy

Filters the current active endpoint

Params
 string $current Current endpoint key.

Return string

Copied!
Copy

Filters the endpoints list

Params
 array $endpoints Endpoints list.
 array $fields    Endpoints options.

Return array

Copied!
Copy

Filters the keys to get endpoints by

Params
 array $accepted_keys Accepted keys to get endpoints.

Return array

Copied!
Copy

Filters the endpoint retrieved by a specific key

Params
 array  $endpoint Endpoint retrieved.
 string $value    Endpoint key.
 string $key      Key used to get endpoint.
 array  $items    Endpoints.

Return array

plugin-options/banners-options.php

Copied!
Copy

Filters the counter types for the banner

Params
 array $counter_types Counter types options.

Return array

Copied!
Copy

Filters the options available in the Banners tab

Params
 array $banners_options Array with options.

Return array

plugin-options/icon-list.php

Copied!
Copy

Filters the icon list to use for the endpoints

Params
 array $icon_list Icons.

plugin-options/items-options-fields.php

Copied!
Copy

Filters the fields for the new items in the plugin panel (endpoints, groups, links)

Params
 array $fields Fields.

Return array

plugin-options/settings/general-options.php

Copied!
Copy

Filters the options available in the General Settings tab

Params
 array $general_options Array with options.

Return array

plugin-options/settings/security-options.php

Copied!
Copy

Filters the options available in the Security Options tab

Params
 array $security_options Array with options.

Return array

plugin-options/settings/style-options.php

Copied!
Copy

Filters the options available in the Style Options tab

Params
 array $style_options Array with options.

Return array

templates/ywcmap-myaccount-menu-item.php

Copied!
Copy

Filters the CSS class of the endpoint link

Params
 string $css_class CSS class.

Return string

Copied!
Copy

Filters the URL of the endpoint link

Params
 string $url      Endpoint URL.
 string $endpoint Endpoint key.

Return string

templates/ywcmap-myaccount-menu.php

Copied!
Copy

Filters the username in the menu

Params
 string  $username     Username to display.
 WP_User $current_user User object.

Return string