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
ninja_forms_after_submission | |
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
Contact form 7 file field | |
[file your-file ] | |
Add following codes in php.ini | |
upload_max_filesize = 20M | |
post_max_size = 21M | |
memory_limit = 15 | |
max_execution_time = 300 |
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 | |
/** | |
* File: apigen-hooks.php | |
* | |
* NOTE: this code is used internally in WPGlobus project. | |
* It's a W.I.P. - please use it, but do not forget to adapt for your project. | |
* | |
* @package WPGlobus\APIGen | |
* @author Gregory Karpinsky (@tivnet) | |
*/ |
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 archive{ | |
protected $handle_write = null; | |
protected $handle_read = null; | |
protected $index = 1; |
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
function rn-clean() { | |
watchman watch-del-all | |
rm -rf $TMPDIR/react-* | |
rm -rf $TMPDIR/haste-* | |
rm -rf $TMPDIR/metro-* | |
npm start -- --reset-cache | |
} |
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
function rn-clean() { | |
watchman watch-del-all | |
rm -rf $TMPDIR/react-* | |
rm -rf $TMPDIR/haste-* | |
rm -rf $TMPDIR/metro-* | |
npm start -- --reset-cache | |
} |
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 /// | |
define('E_FATAL', E_ERROR | E_USER_ERROR | E_PARSE | E_CORE_ERROR | | |
E_COMPILE_ERROR | E_RECOVERABLE_ERROR); | |
define('ENV', 'dev'); | |
//Custom error handling vars | |
define('DISPLAY_ERRORS', TRUE); | |
define('ERROR_REPORTING', E_ALL | E_STRICT); |
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: Paulund WP List Table Example | |
* Description: An example of how to use the WP_List_Table class to display data in your WordPress Admin area | |
* Plugin URI: http://www.paulund.co.uk | |
* Author: Paul Underwood | |
* Author URI: http://www.paulund.co.uk | |
* Version: 1.0 | |
* License: GPL2 | |
*/ |
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: nice_woocommerce_gallery | |
* | |
*/ | |
add_action('wp_footer','nice_woocommerce_gallery'); | |
function nice_woocommerce_gallery() { |