Permalink
Browse files

Merge pull request #2345 from joshp23/bypass-yourls_html_addnew()

add filter to bypass yourls_html_addnew()
  • Loading branch information...
ozh committed Jan 7, 2018
2 parents 19f618d + 5dc44dd commit dd78d7f226017b8dbba4f2e9ee4baafe759a7dee
Showing with 4 additions and 0 deletions.
  1. +4 −0 includes/functions-html.php
@@ -176,6 +176,10 @@ function yourls_html_footer($can_query = true) {
* @param string $keyword Keyword to prefill the input with
*/
function yourls_html_addnew( $url = '', $keyword = '' ) {
$pre = yourls_apply_filter( 'shunt_html_addnew', false, $url, $keyword );
if ( false !== $pre ) {
return $pre;
}
?>
<main role="main">
<div id="new_url">

0 comments on commit dd78d7f

Please sign in to comment.