100, 'width' => 400, 'flex-height' => true, 'flex-width' => true, 'header-text' => array( 'site-title', 'site-description' ), ) ); } add_action( 'after_setup_theme', 'theme_prefix_setup' ); /** * Check the logo if existing. */ function get_the_logo_url() { $custom_logo_id = get_theme_mod( 'custom_logo' ); $image = wp_get_attachment_image_src( $custom_logo_id , 'full' ); if ( $custom_logo_id ) { return $image[0]; } else { return null; } }