includes/admin/class-yith-wcmap-admin-extended.php
Filters the array with the arguments to build the plugin panel
Params
array $args Array of arguments.
Returnarray
includes/admin/class-yith-wcmap-admin-premium.php
Filter the available tabs in the plugin panel
Params
array $tabs Admin tabs.
Returnarray
Filters the array with the arguments to build the plugin panel
Params
array $args Array of arguments.
Returnarray
includes/admin/class-yith-wcmap-admin.php
Filter the available tabs in the plugin panel
Params
array $tabs Admin tabs.
Returnarray
Filters the array with the arguments to build the plugin panel
Params
array $args Array of arguments.
Returnarray
Filters the array with the arguments to print the endpoints in the plugin panel
Params
array Array of arguments.
Returnarray
Filters whether to disable filtering the media library
Params
bool $disable_filter_media_library Whether to disable filtering the media library or not.
Returnbool
includes/admin/yith-wcmap-admin-functions.php
Filters the array with the arguments needed to print the item in the plugin panel
Params
array Array of arguments.
Returnarray
includes/class-yith-wcmap-autoloader.php
Filters the mapped filters to autoload
Params
array $files Mapped files.
Returnarray
includes/class-yith-wcmap-avatar.php
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.
Returnbool
Filters the avatar size
Params
int $size Avatar size.
Returnint
Filters whether to prevent the user to upload a custom avatar
Paramsbool $prevent_upload_user_avatar Whether to prevent the user to upload a custom avatar or not.
array $avatar_data Data of the uploaded avatar.
Returnbool
includes/class-yith-wcmap-banners.php
Filters the banners list
Params
array $banners Banners list.
Returnarray
Filters the order count in the banner
Params
int $order_count Order count.
Returnint
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
Paramsint $count Total count.
int $customer User ID.
Returnint
Filters the key of the banners to display
Paramsarray $banners_key Key of the banners to display.
array
includes/class-yith-wcmap-extended.php
Filters the compatible plugins
Params
array $plugins Compatible plugins.
Returnarray
includes/class-yith-wcmap-frontend-extended.php
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.
Returnbool
Filters the main content selector in the My Account page
Params
string $main_content_selector Main content selector.
Returnstring
includes/class-yith-wcmap-frontend-premium.php
Filters the CSS classes for the group in the menu
Paramsarray $classes CSS classes.
string $group Group key.
array $options Item options.
Returnarray
Filters the array of arguments needed to print the group
Params
array $args Array of arguments.
Returnarray
Filters whether to not redirect to the default endpoint
Params
bool $no_redirect_to_default Whether to not redirect to the default endpoint.
Returnbool
Filters the default endpoint
Params
string $default_endpoint Default endpoint key.
Returnstring
Filters whether skip the role check for administrators
Params
bool $skip_check_for_administrators Whether skip the role check for administrators or not.
Returnbool
includes/class-yith-wcmap-frontend.php
Filters the menu items
Params
array $menu_items Menu items.
Returnarray
Filters whether the menu item is visible
Paramsbool $visible Whether the menu item is visible or not.
string $item Item key.
array $options Item options.
Returnbool
Filters whether the My Account page has menu
Params
bool $my_account_have_menu Whether the My Account page has menu or not.
Returnbool
Filters whether to replace double line breaks with paragraph elements in the endpoint content
Paramsbool $wpautop_content Whether to replace double line breaks with paragraph elements or not.
array $endpoint Endpoint.
Returnbool
Filters the endpoint content
Paramsstring $content Endpoint content.
array $endpoint Endpoint.
WP_User $customer User object.
Returnstring
Filters the title of the My Account page
Paramsstring $page_title Page title.
array $endpoint Endpoint.
Returnstring
Filters the custom CSS variables
Params
array $variables Custom CSS variables.
Returnarray
Filters the custom CSS rules
Params
string $inline_css Custom CSS rules.
Returnstring
Filters whether the current page is the My Account page
Params
bool $is_myaccount Whether is the My Account page or not.
Returnbool
Filters the array with the arguments needed for the menu template
Params
array $args Array with arguments.
Returnarray
Filters the template name for the Downloads endpoint
Params
string $template_name Template name.
Returnstring
Filters the template name for the Dashboard endpoint
Params
string $template_name Template name.
Returnstring
Filters the CSS classes for the endpoint in the menu
Paramsarray $classes CSS classes.
string $item Item key.
array $options Item options.
Returnarray
Filters the array of arguments needed to print the endpoint
Paramsarray $args Array of arguments.
string $item Item key.
array $options Item options.
Returnarray
includes/class-yith-wcmap-items.php
Filters the items
Params
array $items Items.
Returnarray
Filters the default items
Params
array $default_items Default items.
Returnarray
Filters the plugins items
Params
array $plugins_items Plugins items.
Returnarray
Filters the item types
Params
array $item_types Item types.
Returnarray
Filters the items before initialization
Params
array $items Items.
Returnarray
Filters whether to skip rewriting endpoint
Paramsbool $skip_add_rewrite_endpoint Whether to skip rewriting endpoint or not.
string $key Endpoint key.
Returnbool
includes/class-yith-wcmap-security-premium.php
Filters whether reCaptcha is enabled
Params
bool $enable_recaptcha Whether reCaptcha is enabled or not.
Returnbool
includes/class-yith-wcmap-security.php
Filters whether to skip the account verification
Paramsstring $skip_verification Whether to skip account verification or not. Possible values: 'yes' or 'no' (default).
int $customer_id Customer ID.
Returnstring
Filters the notice message based on the context.
$context
will be replaced with the message context
Params
string $msg Message.
Returnstring
includes/class-yith-wcmap.php
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.
Returnbool
includes/compatibilities/class-yith-wcmap-membership-compatibility.php
Filters the endpoint content for the integration with YITH WooCommerce Membership
Paramsstring $shortcode Shortcode to use in the endpoint content.
string $title Shortcode title.
Returnstring
includes/compatibilities/class-yith-wcmap-request-quote-compatibility.php
Filters the array with the arguments to get the user quotes
Params
array $attrs Array of attributes.
Returnarray
includes/compatibilities/class-yith-wcmap-wc-membership-compatibility.php
Filters the array of arguments needed to print the endpoint
Paramsarray $args Array of arguments.
string $endpoint Endpoint key.
array $options Endpoint options.
Returnarray
includes/compatibilities/class-yith-wcmap-wishlist-compatibility.php
Filters the params to view the wishlist page
Paramsstring $query_var_results Query var results.
array $params Array of parameters.
Returnarray
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.
Returnbool
includes/email/class-yith-wcmap-verify-account.php
Filters the array with the attributes needed for the email template
Params
array $atts Array of attributes.
Returnarray
Filters the URL to verify the account
Params
string $url URL to verify the account.
Returnstring
Filters the array with the attributes needed for the plain email template
Params
array $atts Array of attributes.
Returnarray
includes/yith-wcmap-functions-premium.php
Filters the default options for new groups
Paramsarray $options Group options.
string $group Group key.
Returnarray
Filters the default options for new links
Paramsarray $options Link options.
string $endpoint Endpoint link key.
Returnarray
includes/yith-wcmap-functions.php
Filters the default options for new endpoints
Paramsarray $options Endpoint options.
string $endpoint Endpoint key.
Returnarray
Filters the current active endpoint
Params
string $current Current endpoint key.
Returnstring
Filters the endpoints list
Paramsarray $endpoints Endpoints list.
array $fields Endpoints options.
Returnarray
Filters the keys to get endpoints by
Params
array $accepted_keys Accepted keys to get endpoints.
Returnarray
Filters the endpoint retrieved by a specific key
Paramsarray $endpoint Endpoint retrieved.
string $value Endpoint key.
string $key Key used to get endpoint.
array $items Endpoints.
Returnarray
plugin-options/banners-options.php
Filters the counter types for the banner
Params
array $counter_types Counter types options.
Returnarray
Filters the options available in the Banners tab
Params
array $banners_options Array with options.
Returnarray
plugin-options/icon-list.php
Filters the icon list to use for the endpoints
Params
array $icon_list Icons.
plugin-options/items-options-fields.php
Filters the fields for the new items in the plugin panel (endpoints, groups, links)
Params
array $fields Fields.
Returnarray
plugin-options/settings/general-options.php
Filters the options available in the General Settings tab
Params
array $general_options Array with options.
Returnarray
plugin-options/settings/security-options.php
Filters the options available in the Security Options tab
Params
array $security_options Array with options.
Returnarray
plugin-options/settings/style-options.php
Filters the options available in the Style Options tab
Params
array $style_options Array with options.
Returnarray
templates/ywcmap-myaccount-menu-item.php
Filters the CSS class of the endpoint link
Params
string $css_class CSS class.
Returnstring
Filters the URL of the endpoint link
Paramsstring $url Endpoint URL.
string $endpoint Endpoint key.
Returnstring
templates/ywcmap-myaccount-menu.php
Filters the username in the menu
Paramsstring $username Username to display.
WP_User $current_user User object.
Returnstring