All of these functions is in class BeRocket_AAPF as static functions.
add_rewrite_rules ( $rules )
Filter for permalink rewrite rules. Add rules for nice URLs.
init ()
Function for add rewrite end point for nice URLs.
add_queryvars( $query_vars )
Add new variable to query from permalink rules for nice URLs
update_from_older( $version )
Uses for add options add set some settings after plugin updates
- $version – old plugin version
load_jquery_ui()
Register script and styles for admin panel
br_add_options_page()
Register plugin settings page
shortcode( $atts = array() )
Registered shortcode function
apply_user_filters( $query )
Apply filters on page load
br_get_template_part( $name = ” )
Get template part (for templates like the slider).
Default templates places in plugins folder woocommerce-ajax-filters/templates.
To rewrite the template in your theme folder create folder with name woocommerce-filters and places new template with identical name in this folder.
register_br_options()
Add media uploader to pages
register_permalink_option()
Add options to permalink pages
br_custom_user_css()
Add user styling to wordpress pages
selected_area()
Display selected area
br_aapf_get_child()
Get child for selected parent via AJAX, when using Child/Parent setting in widgets
WPML_fix()
Fix for WPML plugin on AJAX loading
