https://wordpress.org/plugins/geotargeting/
Based on Maxmind GeoIP2 data Geo Targeting plugin for WordPress will let you create dynamic content based on your users’ country.
<?php | |
/** | |
* @credits https://jeroensormani.com/adding-a-custom-woocommerce-product-type/ | |
*/ | |
//error_reporting(E_ALL); | |
//ini_set('display_errors', 1); | |
add_action('init' , 'wc_pm_load_product_type'); | |
function wc_pm_load_product_type() { | |
http://www.hudsonatwell.co/liked-videos/feed/ |
<?php | |
/** | |
* Class Liked_Videos_Custom_Shortcode | |
* @package | |
*/ | |
final class Liked_Videos_Custom_Shortcode { | |
/** | |
* Main Liked_Videos_Custom_Shortcode Instance |
<?php | |
/** | |
* The template for displaying archive pages | |
* | |
* Used to display archive-type pages if nothing more specific matches a query. | |
* For example, puts together date-based pages if no date.php file exists. | |
* | |
* If you'd like to further customize these archive views, you may create a | |
* new template file for each one. For example, tag.php (Tag archives), | |
* category.php (Category archives), author.php (Author archives), etc. |
<?PHP | |
/* look up api key to see what permissions it has */ | |
$response = wp_remote_post('https://www.inboundnow.com/pro-api/key/check/', array( | |
'body' => array( | |
'api-key' => trim('1234'), | |
'site' => 'https://dev.inboundnow.com' | |
) | |
)); | |
[inbound-cookie name="inbound_wpleads_first_name"] |
// Usage: https://github.com/inboundnow/cta/blob/master/shared/docs/analytics.events.md#form_before_submission | |
// Adding the callback | |
function form_after_submission_function( data ) { | |
var data = data || {}; | |
// filter form data | |
}; | |
// Hook the function up the the `form_after_submission` event | |
_inbound.add_action( 'form_after_submission', form_after_submission_function, 10 ); |
https://wordpress.org/plugins/geotargeting/
Based on Maxmind GeoIP2 data Geo Targeting plugin for WordPress will let you create dynamic content based on your users’ country.
<?php | |
class Codeable_Modifications_Search_And_Filter_Support { | |
/** | |
* Initialize Class | |
*/ | |
public function __construct() { | |
//add_action('after_setup_theme' , array( __CLASS__ , 'remove_hooks' )); | |
self::remove_hooks(); |