WordPress Snippet
This file contains 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 | |
namespace Converter; | |
use WebPConvert\WebPConvert; | |
class Converter | |
{ | |
public $lazy = false; | |
public function __construct($lazy = false) |
This file contains 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 | |
/** | |
* Using WP Statuses for custom Post Types. | |
* | |
* @link http://github.com/imath/wp-statuses | |
*/ | |
// Exit if accessed directly. | |
defined( 'ABSPATH' ) || exit; |
This file contains 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
$.ajax('https://api.bandsintown.com/artists/Roosevelt/events.json', { | |
data: { | |
api_version: '2.0', | |
//date: '2014-01-01,2016-12-31', | |
app_id: 'ENTER_APPID_HERE' | |
}, | |
dataType: 'jsonp', | |
jsonpCallback: 'createPastConcertsList', | |
crossDomain: true | |
}) |