Function:

mp_core_logo_image()

Purpose:

Template tag which displays the logo image.

Overview:

Use this template tag to show the logo image created and managed by the mp_core_logo_customizer() function.

If the user does not set width and height for the logo, defaults can be passed using the first and second parameters for width and height.

Usage:

Place this in the header.php file of your theme to show the logo:

function_exists( 'mp_core_logo_image' ) ? mp_core_logo_image( $default_width, $default_height ) : '';

Parameters:

$default_width (int) Optional. This size in pixels to use for the width if the user hasn’t selected a width. If not set AND the user hasn’t set a width via the customizer, it will use the actual width of the image.

$default_height (int) Optional. This size in pixels to use for the height if the user hasn’t selected a height. If not set AND the user hasn’t set a width via the customizer, it will use the actual width of the image.

Returns:
Void.