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
// general PHP and WordPress warnings, error messages and status information | |
define( 'WP_DEBUG', true ); | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
define( 'WPS_DEBUG', true ); | |
// script and style | |
define( 'WPS_DEBUG_SCRIPTS', 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 | |
/* Role_Based_Pricing | |
* | |
* | |
* | |
*/ | |
/* Role_Based_Pricing_Get_User |
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 | |
class Animation_Box { | |
public $assets; | |
public $used_assets; | |
public function __construct( $frank_assets ){ | |
$this->assets = $frank_assets; | |
$this->Animation_Box_shortcodes(); |
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 | |
/* Click_Hide_Admin_Toolbar | |
* | |
* | |
*/ | |
class Click_Hide_Admin_Toolbar { |
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 | |
/* | |
* | |
* | |
* | |
* | |
*/ | |
class Name__Class { |
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 | |
function redirect_builder(){ | |
// CLEAN UP TAGS | |
// GATHER TAGS | |
$product_tag = 'product_tag'; | |
$tags = get_terms( array( | |
'taxonomy' => $product_tag, |
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 | |
/* | |
* | |
* | |
* | |
* | |
*/ | |
class Popup__Elm { | |
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 | |
/* https://stackoverflow.com/questions/3488373/php-class-to-generate-html#answer-62349439 */ | |
/** | |
* HTML - Simplest html element builder | |
* - @param1 Element name | |
* - @param2 Class name | |
* - @param3 ID | |
* - @param2 Element content | |
*/ | |
class HTML{ |
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 | |
function populate_csv( $entry, $form ) { | |
/* remove some questions from the output via label filtering */ | |
$exclusions = array( | |
'Field Name One', | |
'Field Name Two', | |
'Field Name Three', | |
); |
NewerOlder