Permalink
Browse files

add filter to bypass yourls_html_addnew()

  • Loading branch information...
joshp23 committed Jan 4, 2018
1 parent 19f618d commit 1546416dbefee8f21030f28d165eb14a5ba7eae6
Showing with 3 additions and 0 deletions.
  1. +3 −0 includes/functions-html.php
@@ -176,6 +176,9 @@ 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 );
if ( false !== $pre )
return $pre;
?>
<main role="main">
<div id="new_url">

0 comments on commit 1546416

Please sign in to comment.