Skip to content

Commit

Permalink
#18 - Add default empty class to PRINT shortcode
Browse files Browse the repository at this point in the history
  • Loading branch information
Moc committed Aug 19, 2022
1 parent 5c6f89c commit 1996dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook_shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ function sc_cookbook_print($parm = array())
return $url;
}

return '<a href="'.$url.'">'.LAN_CB_PRINTRECIPE.'</a>';
return '<a class="'.$class.'" href="'.$url.'">'.LAN_CB_PRINTRECIPE.'</a>';
}


Expand Down

0 comments on commit 1996dce

Please sign in to comment.