Hooks reference
Every action and filter in Siteryn Wishlist and Pro, with signatures checked against the code. Hooks start with siteryn_wishlist_.
Free actions
| Hook | Arguments · when |
|---|---|
siteryn_wishlist_loaded | ( Plugin $plugin ). Free booted. |
siteryn_wishlist_upgrade | ( string|false $old, string $new ). init (20) on a version change. |
siteryn_wishlist_before_template · siteryn_wishlist_after_template | ( string $template_name, array $args ) |
siteryn_wishlist_page_toolbar | (). Wishlist page header controls. |
siteryn_wishlist_settings_after_form | ( string $section ) |
Free filters
| Filter | Arguments · purpose |
|---|---|
siteryn_wishlist_locate_template | ( string $path, string $template_name ) |
siteryn_wishlist_product_data | ( array $data, WC_Product $product ). Data sent for each wishlist product. |
siteryn_wishlist_button_icon_paths · _view_boxes · _strokes · _single_contour · _labels | ( array $map ). Icon artwork and picker labels (the labels list drives the choices). |
siteryn_wishlist_page_layout | ( string 'list', array $atts ). grid or list. |
siteryn_wishlist_card_hooks | ( array $hooks ): theme product-card action ⇒ priority to render the shop button into. Default siteryn_product_card_after_body ⇒ 10. The action should pass the card's WC_Product or set $product. |
siteryn_wishlist_page_width | ( string 'container', array $atts ). Or full. |
siteryn_wishlist_page_empty_message | ( string $message ) |
siteryn_wishlist_page_action_button_style | ( string 'filled' ). Or outline. Pro returns outline for Outline/Text and filled for Filled/Soft while Customize layout & content is on. |
siteryn_wishlist_page_show_price · _show_added_date · _show_stock | ( bool true ) |
siteryn_wishlist_page_remove_control_style | ( string 'icon' ). Any other value shows text. |
siteryn_wishlist_settings_sections · _settings_fields | ( array $items ) |
siteryn_wishlist_settings_nav_icon · _nav_sublabel · _nav_badge · _settings_description | ( string $value, string $section ) |
siteryn_wishlist_settings_reset_actions | ( array $option_name => admin_post_action ) |
siteryn_wishlist_settings_panel_sidebar_shortcodes | ( array $shortcodes, string $section ) |
siteryn_wishlist_settings_save_redirect | ( false|array $redirect, string $option_name ). Return an array to refuse a save. |
siteryn_wishlist_system_status_cards | ( array $cards ) |
siteryn_wishlist_admin_icons | ( array $icons ) |
siteryn_deactivation_feedback_endpoint | ( string $url ). Shared by Siteryn plugins. |
siteryn_dashboard_plugins | ( array $plugins ): each array( 'slug', 'title', 'icon' ). The plugin cards on the Siteryn → Welcome page. Shared by Siteryn plugins. |
Pro hooks Pro
| Hook | Type | Arguments · purpose |
|---|---|---|
siteryn_wishlist_pro_loaded | action | ( Plugin $plugin ) |
siteryn_wishlist_pro_upgrade | action | ( string|false $old, string $new ) |
siteryn_wishlist_pro_item_added · _item_removed | action | ( int $user_id, string $list_id, int $product_id ). Server-side lists; default-language product ID. |
siteryn_wishlist_pro_send_back_in_stock_emails · _send_price_drop_emails | action | ( int $product_id ). Cron events that send the emails. |
siteryn_wishlist_pro_prune_events | action | Daily cron that removes activity older than 2 years. |
siteryn_wishlist_pro_license_active | filter | ( bool $active ) |
siteryn_wishlist_pro_back_in_stock_email | filter | ( array $email, WC_Product $product, WP_User $user ) |
siteryn_wishlist_pro_price_drop_email | filter | ( array $email, WC_Product $product, WP_User $user, float $old, float $new ) |
siteryn_wishlist_pro_header_default_anchor_selectors · _container_selectors | filter | ( string[] $selectors ). Where the header icon is placed. |
siteryn_wishlist_pro_client_ip | filter | ( string $ip ). Real IP behind a proxy. |
siteryn_wishlist_pro_ai_providers | filter | ( array $providers ). Key must equal get_id(). |
siteryn_wishlist_pro_ai_provider_config | filter | ( ProviderConfig $config ) |
siteryn_wishlist_pro_ai_prompts | filter | ( array $tasks ) |
siteryn_wishlist_pro_ai_studio | action | (): fires in the AI Studio tab after the AI reports; the copy and email tools render here. |
siteryn_wishlist_pro_ai_max_retries | filter | ( int 1, string $provider_id ). 0–2. |
siteryn_wishlist_pro_ai_allow_insecure_local_endpoint · _allow_private_endpoint | filter | ( bool false, string $url ) |