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 | |
/** | |
* Admin Columns | |
* @example | |
* | |
new Admin_Columns('my_post_type', [ | |
'order' => __('Order'), | |
'image' => __('Image'), | |
]); |
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
const formSubmitRecapcha = function (site_key = "") { | |
grecaptcha.ready(function () { | |
grecaptcha.execute(site_key, { | |
action: 'contact' | |
}).then(function (token) { | |
// Get #recaptchaResponse field and populate it's value | |
var recaptchaResponse = document.getElementById('recaptchaResponse'); | |
recaptchaResponse.value = token; | |
// | |
// Make the Ajax Call |
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 | |
namespace Kreativan; | |
if (!defined('ABSPATH')) { | |
exit; | |
} | |
class CronJob { | |
public function __construct($plugin_file) { |
OlderNewer