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 | |
/** | |
* Tachyon image service helper class to extend the resized image data. | |
* | |
* @package tachyon-helper | |
*/ | |
namespace Tachyon_Helper; | |
use Tachyon; |
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 | |
/** | |
* Fix/Workaround for two-factor option issues. | |
*/ | |
namespace Fix; | |
require_once __DIR__ . '/two-factor-totp-fix.php'; | |
Two_Factor_Totp\bootstrap(); |
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 | |
/** | |
* Cache http response to store response data in cache once received success response. | |
* This helps avoiding duplicate http requests. | |
* Also helpful in cases where we may have limited API requests rate. (i.e 25 requests per day) | |
*/ | |
namespace WP_Local_Helper; | |
// Domain list which needs uncached response each time. |
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 | |
/** | |
* Determine the video ID from the URL. | |
* | |
* @param string $url URL. | |
* | |
* @return int|false Video ID, or false if none could be retrieved. | |
*/ | |
function get_video_id_from_url( $url ) { |
OlderNewer