jetpack_podcast_for_the_world

jetpack_podcast_for_the_world

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0

apply_filters('jetpack_podcast_for_the_world') is found 2 times:

  • /class.jetpack.php line 2360
    	 * @return array
    	 */
    	public function filter_available_modules_podcast( $modules ) {
    		/** This filter is documented in projects/packages/podcast/src/class-podcast.php */
    		if ( ! apply_filters( 'jetpack_podcast_for_the_world', false ) ) {
    			unset( $modules['podcast'] );
    		}
    
    		return $modules;
    	}
    
    
  • /jetpack_vendor/automattic/jetpack-podcast/src/class-podcast.php line 50
    		 * @since 1.1.1
    		 *
    		 * @param bool $enabled Whether to load the package on self-hosted. Default false.
    		 */
    		$for_the_world = (bool) apply_filters( 'jetpack_podcast_for_the_world', false );
    
    		if ( ! $host->is_wpcom_simple() && ! $host->is_woa_site() && ! $for_the_world ) {
    			return;
    		}
    
    		Podcast_Episode_Block::register_hooks();