Category Filter Hooks

wishlist_single_atts

add_filter(‘wishlist_single_atts’, ‘wishlist_single_atts_20201908’, 5); function wishlist_single_atts_20201908($atts){ $atts[‘custom_atts’] = ‘Custom atts’; return $atts; }  

wishlist_archive_atts

add_filter(‘wishlist_archive_atts’, ‘wishlist_archive_atts_20201908’, 5); function wishlist_archive_atts_20201908($atts){ $atts[‘custom_atts’] = ‘Custom atts’; return $atts; }  

my_wishlist_atts

add_filter(‘my_wishlist_atts’, ‘my_wishlist_atts_20201908’, 5); function my_wishlist_atts_20201908($atts){ $atts[‘custom_atts’] = ‘Custom atts’; return $atts; }  

wishlist_button_atts

add_filter(‘wishlist_button_atts’, ‘wishlist_button_atts_20201908’, 5); function wishlist_button_atts_20201908($atts){ $atts[‘custom_atts’] = ‘Custom attrinutes’; return $atts; }  

wishlist_archive_query_args

add_filter(‘wishlist_archive_query_args’, ‘wishlist_archive_query_args_20201908’, 5); function wishlist_archive_query_args_20201908($query_args){ $query_args[‘s’] = ‘Keyword here’; return $query_args; } View post on imgur.com

wishlist_button_save_login_label

add_filter(‘wishlist_button_save_login_label’, ‘wishlist_button_save_login_label_20201908’, 5); function wishlist_button_save_login_label_20201908($login_label){ $login_label = ‘Custom Login Text’; return $login_label; } View post on imgur.com

wishlist_save_label

add_filter(‘wishlist_button_save_label’, ‘wishlist_button_save_label_20201908’, 5); function wishlist_button_save_label_20201908($save_html){ $save_html = ‘Custom label’; return $save_html; } View post on imgur.com

wishlist_button_save_html

add_filter(‘wishlist_button_save_html’, ‘wishlist_button_save_html_20201908’, 5); function wishlist_button_save_html_20201908($save_html){ $save_html = ‘<i class=”far fa-grin-hearts”></i>’; return $save_html; } View post on imgur.com

wishlist_button_menu_label

add_filter(‘wishlist_button_menu_label’, ‘wishlist_button_menu_label_20201908’, 5); function wishlist_button_menu_label_20201908($menu_label){ $menu_label = ‘Custom text’; return $menu_label; }     View post on imgur.com

wishlist_bredcrumb_home_text

add_filter(‘wishlist_single_bredcrumb_home_text’, ‘wishlist_single_bredcrumb_home_text_20201908’, 5); function wishlist_single_bredcrumb_home_text_20201908($home_text){ $home_text = ‘Custom home’; return $home_text; }     View post on imgur.com