jetpack_open_graph_output, $og_tag

jetpack_open_graph_output, $og_tag

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_open_graph_output, $og_tag') is found 3 times:

  • /functions.opengraph.php line 288
    			 * @since 2.0.0
    			 *
    			 * @param string $og_tag HTML HTML Output of each Open Graph Meta tag.
    			 */
    			$og_output .= apply_filters( 'jetpack_open_graph_output', $og_tag );
    			$og_output .= "\n";
    
    			if ( 'og:image' === $tag_property ) {
    				if ( is_array( $secure ) && ! empty( $secure[ $secure_image_num ] ) ) {
    					$og_tag = sprintf( '<meta property="og:image:secure_url" content="%s" />', esc_url( $secure[ $secure_image_num ] ) );
    					/** This filter is documented in functions.opengraph.php */
    
  • /functions.opengraph.php line 295
    			if ( 'og:image' === $tag_property ) {
    				if ( is_array( $secure ) && ! empty( $secure[ $secure_image_num ] ) ) {
    					$og_tag = sprintf( '<meta property="og:image:secure_url" content="%s" />', esc_url( $secure[ $secure_image_num ] ) );
    					/** This filter is documented in functions.opengraph.php */
    					$og_output .= apply_filters( 'jetpack_open_graph_output', $og_tag );
    					$og_output .= "\n";
    				} elseif ( ! is_array( $secure ) && ! empty( $secure ) ) {
    					$og_tag = sprintf( '<meta property="og:image:secure_url" content="%s" />', esc_url( $secure ) );
    					/** This filter is documented in functions.opengraph.php */
    					$og_output .= apply_filters( 'jetpack_open_graph_output', $og_tag );
    					$og_output .= "\n";
    
  • /functions.opengraph.php line 300
    					$og_output .= "\n";
    				} elseif ( ! is_array( $secure ) && ! empty( $secure ) ) {
    					$og_tag = sprintf( '<meta property="og:image:secure_url" content="%s" />', esc_url( $secure ) );
    					/** This filter is documented in functions.opengraph.php */
    					$og_output .= apply_filters( 'jetpack_open_graph_output', $og_tag );
    					$og_output .= "\n";
    				}
    				++$secure_image_num;
    			}
    		}
    	}