The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
<?php | |
/** | |
* Custom Post Type Registration. | |
* | |
* @package Contract Builder | |
* @author ThemeAvenue <[email protected]> | |
* @license GPL-2.0+ | |
* @link http://themeavenue.net | |
* @copyright 2013 ThemeAvenue | |
*/ |
<?php | |
/** | |
* Theme Switcher. | |
* | |
* @package DBA_Components | |
* @author Julien Liabeuf <[email protected]> | |
* @license GPL-2.0+ | |
* @link http://n2clic.com | |
* @copyright 2014 N2Clic | |
*/ |
<?php | |
/** | |
* Salesforce Web-To-Lead cURL PHP Wrapper. | |
* | |
* This class is a helper for Salesforce web-to-lead | |
* feature. | |
* | |
* @package Salesforce_WTL | |
* @version 0.1.1 | |
* @author Julien Liabeuf <[email protected]> |
<?php | |
/** | |
* @package Awesome Support/Custom Fields | |
* @author ThemeAvenue <[email protected]> | |
* @license GPL-2.0+ | |
* @link http://themeavenue.net | |
* @copyright 2014 ThemeAvenue | |
* | |
* @wordpress-plugin | |
* Plugin Name: Awesome Support: My Custom Fields |
add_filter( 'wpas_get_custom_fields', 'wpas_make_product_required' ); | |
/** | |
* Make the products field required | |
* | |
* @param array $custom_fields Registered custom fields | |
* | |
* @return array | |
*/ | |
function wpas_make_product_required( $custom_fields ) { |
# Initial system update | |
sudo apt-get update && sudo apt-get upgrade | |
# Install system utilities | |
## TLP | |
sudo apt-get install tlp tlp-rdw | |
sudo tlp start | |
## Sublime Text 2 |
<?php | |
add_filter( 'wpas_before_submit_new_ticket_checks', 'wpas_extra_submission_check' ); | |
/** | |
* Add extra verifications to the ticket submission process | |
* | |
* @param bool|WP_Error $go The submission authorization status | |
* @return bool|WP_Error | |
*/ | |
function wpas_extra_submission_check( $go ) { |
<?php | |
add_filter( 'wpas_before_submit_new_ticket_checks', 'wpas_limit_concurrently_open_tickets' ); | |
/** | |
* Limit the Number of Concurrent Open Tickets | |
* | |
* @param bool|WP_Error $go Submission status | |
* | |
* @return bool|WP_Error | |
*/ | |
function wpas_limit_concurrently_open_tickets( $go ) { |