4/** * Shortcode class. * * @since 1.0 */ * I-f-00000000000005f20000000000000000add_css_files=߿(00000000000005f20000000000000000load_css޻)Add a class to the wrapping HTML element.bg_colorӍY+Set the animation end point. In percentage.xt_color ֈK-Set the animation start point. In percentage.|ݑ.Select "yes" to play the animation in reverse.9x+Controls whether the animation should loop.?6s<(Controls when the animation should play.`+G-Select the trigger for the animation to play.lor0*mӳ7Upload a lottie JSON file. Visit %s to find animations.6/** * Shortcode class. * * @since 3.0.2 */ b֊;*00000000000005f50000000000000000image_attrolor2D-00000000000005f50000000000000000add_css_files'(00000000000005f50000000000000000load_css#ek-awb-menu__m-toggle awb-menu__m-toggle_no-text(Text to be displayed inside the popover.lor4/** * Shortcode class. * * @since 3.0 */ * T<`500000000000005f80000000000000000correct_json_filetype@*00000000000005f80000000000000000allow_jsonxt_colorv,00000000000005f80000000000000000wrapper_attrn_bg_color1+00000000000005f80000000000000000player_attrlorEY/#-00000000000005f80000000000000000add_css_filesϓj(00000000000005f80000000000000000load_css#woUC*fusion_news_ticker_get_taxonomies_settingsxt_colorzOa(fusion_news_ticker_get_order_by_settingsbg_colorYUVNA7Select whether or not to show the date before the post.JuFӹ(Select the ticker type to display posts.lorp=.Select the ticker speed, in pixels per second.޻)Add a class to the wrapping HTML element.}\'qLO5hhttps://avada.com/documentation/menu-anchor-element/ eғU eғU eғU eғU4/** * Shortcode class. * * @since 1.0 */ * Rhy$I^300000000000005fc0000000000000000print_inline_scriptloru<*00000000000005fc0000000000000000ajax_queryolorwkd-00000000000005fc0000000000000000add_css_filest{;(00000000000005fc0000000000000000load_css޻)Add a class to the wrapping HTML element./22)C+))&-Select how main menu items will be justified.34165534 2.0.0 * * @param string $role Role name. */ public function remove_role( $role ) { if ( ! isset( $this->role_objects[ $role ] ) ) { return; } unset( $this->role_objects[ $role ] ); unset( $this->role_names[ $role ] ); unset( $this->roles[ $role ] ); if ( $this->use_db ) { update_option( $this->role_key, $this->roles ); } if ( get_option( 'default_role' ) == $role ) { update_option( 'default_role', 'subscriber' ); } } /** * Add capability to role. * * @since 2.0.0 * * @param string $role Role name. * @param string $cap Capability name. * @param bool $grant Optional. Whether role is capable of performing capability. * Default true. */ public function add_cap( $role, $cap, $grant = true ) { if ( ! isset( $this->roles[ $role ] ) ) { return; } $this->roles[ $role ]['capabilities'][ $cap ] = $grant; if ( $this->use_db ) { update_option( $this->role_key, $this->roles ); } } /** * Remove capability from role. * * @since 2.0.0 * * @param string $role Role name. * @param string $cap Capability name. */ public function remove_cap( $role, $cap ) { if ( ! isset( $this->roles[ $role ] ) ) { return; } unset( $this->roles[ $role ]['capabilities'][ $cap ] ); if ( $this->use_db ) { update_option( $this->role_key, $this->roles ); } } /** * Retrieve role object by name. * * @since 2.0.0 * * @param string $role Role name. * @return WP_Role|null WP_Role object if found, null if the role does not exist. */ public function get_role( $role ) { if ( isset( $this->role_objects[ $role ] ) ) { return $this->role_objects[ $role ]; } else { return null; } } /** * Retrieve list of role names. * * @since 2.0.0 * * @return string[] List of role names. */ public function get_names() { return $this->role_names; } /** * Whether role name is currently in the list of available roles. * * @since 2.0.0 * * @param string $role Role name to look up. * @return bool */ public function is_role( $role ) { return isset( $this->role_names[ $role ] ); } /** * Initializes all of the available roles. * * @since 4.9.0 */ public function init_roles() { if ( empty( $this->roles ) ) { return; } $this->role_objects = array(); $this->role_names = array(); foreach ( array_keys( $this->roles ) as $role ) { $this->role_objects[ $role ] = new WP_Role( $role, $this->roles[ $role ]['capabilities'] ); $this->role_names[ $role ] = $this->roles[ $role ]['name']; } /** * After the roles have been initialized, allow plugins to add their own roles. * * @since 4.7.0 * * @param WP_Roles $wp_roles A reference to the WP_Roles object. */ do_action( 'wp_roles_init', $this ); } /** * Sets the site to operate on. Defaults to the current site. * * @since 4.9.0 * * @global wpdb $wpdb WordPress database abstraction object. * * @param int $site_id Site ID to initialize roles for. Default is the current site. */ public function for_site( $site_id = null ) { global $wpdb; if ( ! empty( $site_id ) ) { $this->site_id = absint( $site_id ); } else { $this->site_id = get_current_blog_id(); } $this->role_key = $wpdb->get_blog_prefix( $this->site_id ) . 'user_roles'; if ( ! empty( $this->roles ) && ! $this->use_db ) { return; } $this->roles = $this->get_roles_data(); $this->init_roles(); } /** * Gets the ID of the site for which roles are currently initialized. * * @since 4.9.0 * * @return int Site ID. */ public function get_site_id() { return $this->site_id; } /** * Gets the available roles data. * * @since 4.9.0 * * @global array $wp_user_roles Used to set the 'roles' property value. * * @return array Roles array. */ protected function get_roles_data() { global $wp_user_roles; if ( ! empty( $wp_user_roles ) ) { return $wp_user_roles; } if ( is_multisite() && get_current_blog_id() != $this->site_id ) { remove_action( 'switch_blog', 'wp_switch_roles_and_user', 1 ); $roles = get_blog_option( $this->site_id, $this->role_key, array() ); add_action( 'switch_blog', 'wp_switch_roles_and_user', 1, 2 ); return $roles; } return get_option( $this->role_key, array() ); } }