wpseo_opengraph_show_publish_date, false, $this->post->get_post_type( $this->source

wpseo_opengraph_show_publish_date, false, $this->post->get_post_type( $this->source

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('wpseo_opengraph_show_publish_date, false, $this->post->get_post_type( $this->source') is found 1 times:

  • /src/presentations/indexable-post-type-presentation.php line 274
    			 *
    			 * @param bool   $show      Whether or not to show publish date.
    			 * @param string $post_type The current URL's post type.
    			 */
    			if ( ! \apply_filters( 'wpseo_opengraph_show_publish_date', false, $this->post->get_post_type( $this->source ) ) ) {
    				return '';
    			}
    		}
    
    		return $this->date->format( $this->source->post_date_gmt );
    	}