Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Update yourls_add_new_link function #2452
I added $return to post_add_new_link:
This makes it easier to add conditional actions. For example, I might want to do certain actions depending on whether $return['status'] is 'success' or 'fail'.