twentytwenty_site_logo_args
twentytwenty_site_logo_args
Appears in: wordpress-5.3, wordpress-5.3.1, wordpress-5.3.2, wordpress-5.4, wordpress-5.4.1, wordpress-5.4.2, wordpress-5.5, wordpress-5.5.1, wordpress-5.5.2, wordpress-5.5.3, wordpress-5.6, wordpress-5.6.1, wordpress-5.6.2, wordpress-5.7, wordpress-5.7.1, wordpress-5.7.2, wordpress-5.8, wordpress-5.8.1, wordpress-5.8.2, wordpress-5.8.3, wordpress-5.9, wordpress-5.9.1, wordpress-5.9.2, wordpress-5.9.3, wordpress-6.0, wordpress-6.0.2, wordpress-6.0.3
Hook Type: filter
Displaying hooks found in version: wordpress-6.0.3apply_filters('twentytwenty_site_logo_args') is found 1 times:
- /wp-content/themes/twentytwenty/inc/template-tags.php line 605657585960616263646566
*
* @param
array
$args
Parsed arguments.
* @param
array
$defaults
Function's
default
arguments.
*/
$args
= apply_filters(
'twentytwenty_site_logo_args'
,
$args
,
$defaults
);
if
( has_custom_logo() ) {
$contents
= sprintf(
$args
[
'logo'
],
$logo
, esc_html(
$site_title
) );
$classname
=
$args
[
'logo_class'
];
}
else
{
$contents
= sprintf(
$args
[
'title'
], esc_url( get_home_url( null,
'/'
) ), esc_html(
$site_title
) );