build(); if ( ! empty( $css ) ) { echo "\n\n\n\n"; } } endif; add_action( 'wp_head', 'bulan_customizer_styles', 11 ); if ( ! function_exists( 'bulan_custom_feed_url' ) ) : /** * Custom RSS feed url. * * @since 1.0.0 */ function bulan_custom_feed_url( $output, $feed ) { // Theme prefix $prefix = 'bulan-'; // Get the custom rss feed url $url = bulan_mod( $prefix . 'custom-rss' ); // Do not redirect comments feed if ( strpos( $output, 'comments' ) ) { return $output; } // Check the settings. if ( ! empty( $url ) ) { $output = esc_url( $url ); } return $output; } endif; add_filter( 'feed_link', 'bulan_custom_feed_url', 10, 2 );