Functions

URI Functions

  • upb_assets_uri( $url = '' ) // Return /wp-contents/ultimate-page-builder/assets/

  • upb_plugin_uri( $url = '' ) // Return /wp-contents/ultimate-page-builder/

  • upb_plugin_path( $path = '' ) // Return PLUGIN PATH/

  • upb_elements_path( $path = '' ) // Return PLUGIN PATH/elements/

  • upb_elements_uri( $uri = '' ) // Return /wp-contents/ultimate-page-builder/elements/

  • upb_include_path( $path = '' ) // Return PLUGIN PATH/includes/

  • upb_templates_path( $path = '' ) // Return PLUGIN PATH/templates/

  • upb_templates_uri( $uri = '' ) // Return /wp-contents/ultimate-page-builder/templates/

Class instances Functions

  • upb_elements() // Return UPB_Elements Class

  • upb_tabs() // Return UPB_Tabs Class

  • upb_settings() // Return UPB_Settings Class

  • upb_layouts() // Return UPB_Layouts Class

Conditional Functions

  • upb_is_ios()

  • upb_is_ie()

  • upb_is_buildable() - check allowed post types and upb_has_access filter

  • upb_is_preview() - On Preview Panel.

  • upb_is_boilerplate() - On Builder Panel

  • upb_is_preview_request - Check valid preview request

  • upb_is_boilerplate_request - Check valid builder request

  • upb_is_enabled - Check page use Page Builder or not.

  • upb_check_ajax_access - Check valid ajax request

  • upb_is_shortcode_enabled( $attributes ) - Check shortcode enabled / disabled.

Build-In Input fields

  • upb_responsive_hidden_input($title, $description = default= array() ) - Add Device Hidden Input.

  • upb_column_clearfix_input( $title = '', $desc = '', $default = array() ) - Clearfix Input for all devices.

  • upb_material_icon_input(( $id, $title = '', $desc = '', $default = '' )) - Ajax field to search Material Icons

  • upb_font_awesome_icon_input(( $id, $title = '', $desc = '', $default = '' )) - Ajax field to search FontAwesome Icons

  • upb_dashicons_icon_input(( $id, $title = '', $desc = '', $default = '' )) - Ajax field to search DashIcons Icons

  • upb_title_input( $title = '', $desc = '', $default = 'New %s' ) - Element Title input.

  • upb_enable_input( $title = '', $desc = '', $default = TRUE ) - Element enable/disable input

Build-In Input Groups

  • upb_background_input_group() - Element backgrounds

  • upb_css_class_id_input_group( $default_class = '', $default_id = '' ) - Add CSS Class and ID input to an element.

  • upb_media_query_based_input_group( $input, $with_global = TRUE ) - Add Device specific attributes / fields

Helper Functions

  • upb_list_pluck( $list, $field, $index_key = NULL ) - $list could be array or object, $field could be array or string.

  • upb_return_boolean($data) - Returns TRUE for "1", "true", "on" and "yes". Returns FALSE otherwise.

  • upb_hex2RGB( $hex, $opacity = FALSE ) - Convert Hex Color to RGB/RGBA Color

  • upb_rgb2HEX( $rgb ) - Convert RGB/RGBA Color to HEX Color

results matching ""

    No results matching ""