This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function print_lyhfi_url() { | |
| /* | |
| Example code for using Lyh.fi URLs in WordPress template code, inspired by | |
| http://devmoose.com/coding/automatically-create-a-bitly-url-for-wordpress-posts | |
| Disclaimer: This code is *NOT TESTED* with WordPress. | |
| Lyh.fi API has currently no authentication nor versioning. It expects one |
NewerOlder