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
$form_id = 'CF610b605dd7710'; | |
$form = Caldera_Forms_Forms::get_form($form_id); | |
//Basic entry information | |
$entry_detail = new Caldera_Forms_Entry_Entry(); | |
$entry_detail->form_id = $form['ID']; | |
$entry_detail->datestamp = current_time('mysql'); | |
$entry_detail->status = 'pending'; | |
$entry_detail->user_id = get_current_user_id(); |
This file has been truncated, but you can view the full file.
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
{ | |
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36", | |
"environment": { | |
"networkUserAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4420.0 Mobile Safari/537.36 Chrome-Lighthouse", | |
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36", | |
"benchmarkIndex": 1390, | |
"credits": { | |
"axe-core": "4.1.3" | |
} | |
}, |
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 QMQUOTE\Admin; | |
class Rest | |
{ | |
private $key = 'quoteme'; // change this prefix | |
private $script = 'quoteme-action'; // change this script action | |
/** | |
* Construction |
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 YOUR_PLUGIN; | |
class Request | |
{ | |
private $url; | |
/** | |
* private variable | |
* make sure that the value of the properity is unique, lowercase, non whitespace and |
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 | |
/** | |
* | |
* Change 'custom-request' to anything you want | |
* | |
* Register custom rules | |
* Hooked via filter generate_rewrite_rules, priority 999 | |
* @param Object $wp_rewrite | |
*/ | |
function set_custom_rules($wp_rewrite) |
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 | |
/** | |
* Return with custom template path | |
* Hooked via filter wc_get_template, priority 100 | |
* @param string $located [description] | |
* @param string $template_name [description] | |
* @param string $args [description] | |
* @param string $template_path [description] | |
* @param string $default_path [description] | |
* @return string [description] |
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 | |
/** | |
* Plugin Name: WooCommerce - Display Variation Price in Dropdown | |
* Plugin URI: https://ridwanarifandi.com | |
* Description: Display price in variation dropdown | |
* Version: 1.0.0 | |
* Author: Ridwan Arifandi | |
* Author URI: https://ridwanarifandi | |
* Text Domain: woocommerce | |
* |
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 JBSF\Admin; | |
class Taxonomy | |
{ | |
private $label = []; | |
/** | |
* Construction | |
*/ |
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 sejoli; | |
Class PostType | |
{ | |
protected static $labels = []; | |
protected static $args = []; | |
protected static $post_type = ''; | |
protected static $valid = true; | |
protected static $exists = true; |
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 Ridwan; | |
class WP_Query | |
{ | |
protected static $chunk = 10; | |
protected static $args = []; | |
protected static $posts = []; | |
protected static $respond = []; |
NewerOlder