(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| (function($) { | |
| window.VcCustomElementView = vc.shortcode_view.extend( { | |
| elementTemplate: false, | |
| $wrapper: false, | |
| changeShortcodeParams: function ( model ) { | |
| var params; | |
| window.VcCustomElementView.__super__.changeShortcodeParams.call( this, model ); | |
| params = _.extend( {}, model.get( 'params' ) ); | |
| if ( ! this.elementTemplate ) { |
| <?php | |
| $countries = array(); | |
| $countries[] = array("iso_code"=>"AF","country_name"=>"Afghanistan","country_code"=>"93"); | |
| $countries[] = array("iso_code"=>"AL","country_name"=>"Albania","country_code"=>"355"); | |
| $countries[] = array("iso_code"=>"DZ","country_name"=>"Algeria","country_code"=>"213"); | |
| $countries[] = array("iso_code"=>"AS","country_name"=>"American Samoa","country_code"=>"1"); | |
| $countries[] = array("iso_code"=>"AD","country_name"=>"Andorra","country_code"=>"376"); | |
| $countries[] = array("iso_code"=>"AO","country_name"=>"Angola","country_code"=>"244"); | |
| $countries[] = array("iso_code"=>"AI","country_name"=>"Anguilla","country_code"=>"1"); | |
| $countries[] = array("iso_code"=>"AG","country_name"=>"Antigua","country_code"=>"1"); |
| <?php | |
| /* | |
| WordPress Theme Template Hierarchy Last updated for WordPress 5.4 | |
| ================================== | |
| This diagram is partially simplified for legibility. To view the complete template hierarchy in use on your site see the | |
| Template panel in the Query Monitor plugin. |
| <?php | |
| /** | |
| ** A base module for [select_posttype] and [select_posttype*] | |
| **/ | |
| /* Shortcode handler */ | |
| add_action( 'wpcf7_init', 'wpcf7_add_shortcode_select_posttype' ); | |
| function wpcf7_add_shortcode_select_posttype() { |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <?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 | |
| */ |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| <?php | |
| /** | |
| * Plugin Name: Extend WooCommerce Subscription Intervals | |
| * Description: Add a "every 10 weeks" billing interval to WooCommerce Subscriptions | |
| * Author: Brent Shepherd | |
| * Author URI: http://brent.io | |
| * Version: 1.0 | |
| * License: GPL v2 | |
| */ |
| <?php | |
| /** | |
| * Plugin Name: EDD Heartbeat API test plugin | |
| * Description: Demonstrates how to use the Heartbeat API to update the payments count on the dashboard | |
| */ | |
| // Load the heartbeat JS | |
| function edd_heartbeat_enqueue( $hook_suffix ) { | |
| // Make sure the JS part of the Heartbeat API is loaded. | |
| wp_enqueue_script( 'heartbeat' ); |