mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-20 04:00:29 +08:00
Add filter to alter credit links
This commit is contained in:
parent
56f19d4f53
commit
a25e82b000
1 changed files with 2 additions and 0 deletions
|
@ -144,6 +144,8 @@ if ( ! function_exists( 'storefront_credit' ) ) {
|
|||
$separator = '<span role="separator" aria-hidden="true"></span>';
|
||||
$links_output = get_the_privacy_policy_link( '', ( ! empty( $links_output ) ? $separator : '' ) ) . $links_output;
|
||||
}
|
||||
|
||||
$links_output = apply_filters( 'storefront_credit_links_output', $links_output );
|
||||
?>
|
||||
<div class="site-info">
|
||||
<?php echo esc_html( apply_filters( 'storefront_copyright_text', $content = '© ' . get_bloginfo( 'name' ) . ' ' . date( 'Y' ) ) ); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue