Browse Source

Fix: Contact link customization (#193)

Fixes: https://github.com/pressbooks/pressbooks-aldine/issues/191
pull/196/head
Dac Chartrand 5 years ago committed by GitHub
parent
commit
f1189366ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      footer.php

9
footer.php

@ -23,15 +23,14 @@ if ( $pb_network_contact_form ) {
if ( ! empty( $pb_network_contact_link ) ) { if ( ! empty( $pb_network_contact_link ) ) {
$contact_link = $pb_network_contact_link; $contact_link = $pb_network_contact_link;
} else { } else {
$contact_link = ''; /**
}
}
/**
* Filter the "Contact" link. * Filter the "Contact" link.
* *
* @since Pressbooks 5.6.0 * @since Pressbooks 5.6.0
*/ */
$contact_link = apply_filters( 'pb_contact_link', $contact_link ); $contact_link = apply_filters( 'pb_contact_link', $contact_link );
}
}
?> ?>

Loading…
Cancel
Save