siteorigin_panels_overlay

siteorigin_panels_overlay

Hook Type: filter

See hook in core

Displaying hooks found in version: siteorigin-panels.2.26.1

apply_filters('siteorigin_panels_overlay') is found 3 times:

  • /inc/renderer.php line 1170

    Warning: Undefined array key 1172 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 1173 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 1174 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 1175 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    				isset( $context['style']['background_image_opacity'] ) &&
    				$context['style']['background_image_opacity'] != 100
    			)
    		) ||
    		apply_filters( 'siteorigin_panels_overlay', false, $context );
    	}
    }
    
    
    
    
    
  • /inc/styles.php line 637
    					isset( $context['style']['background_image_opacity'] ) &&
    					$context['style']['background_image_opacity'] != 100
    				)
    			) ||
    			apply_filters( 'siteorigin_panels_overlay', false, $context )
    		) {
    			$styles = self::generate_background_style( $context['style'] );
    			// Is this a background overlay?
    			if ( ! empty( $styles ) ) {
    				$styles['opacity'] = '0.' . (int) $context['style']['background_image_opacity'];
    				unset( $styles['background-color'] );
    
  • /inc/styles.php line 645

    if ( ! empty( $styles ) ) {
    $styles[‘opacity’] = ‘0.’ . (int) $context[‘style’][‘background_image_opacity’];
    unset( $styles[‘background-color’] );
    } else {
    $custom_overlay = apply_filters( ‘siteorigin_panels_overlay’, false, $context );
    }

    if ( ! empty( $styles ) || ! empty( $custom_overlay ) ) {
    ob_start();
    ?>