wpseo_social_template_post_type

wpseo_social_template_post_type

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.1

apply_filters('wpseo_social_template_post_type') is found 1 times:

  • /src/editors/framework/seo/posts/social-data-provider.php line 122
    		 * @param string $template             The social template value, defaults to empty string.
    		 * @param string $template_option_name The subname of the option in which the template you want to get is saved.
    		 * @param string $post_type            The name of the post type.
    		 */
    		return \apply_filters( 'wpseo_social_template_post_type', '', $template_option_name, $this->post->post_type );
    	}
    
    	/**
    	 * Method to return the Social domain object with SEO data.
    	 *
    	 * @return Seo_Plugin_Data_Interface The specific seo data.