expose acf
function expose_acf_to_rest() { register_rest_field('game_state', 'acf', [ 'get_callback' => function($post_arr) { return get_fields($post_arr['id']); }, 'update_callback' => null,…
Book Review
Used to list book review recommendations
Google adsense
To connect to Google AdSense
Disable Donations After Goal Is Reached
Disables donations to campaigns after they have reached their goal.
WPForms Custom Real-time Keyword Blocklist
This code snippet will add a custom validation rule to block specific keywords in real-time mirroring…
Add extra shipping providers for vendor tracking numbers
$shipping_providers = array( 'Australia' => array( 'Australia Post' => 'https://auspost.com.au/mypost/track/#/details/%1$s', 'FedEx' => 'https://www.fedex.com/apps/fedextrack/?tracknumbers=%1$s&cntry_code=au', 'Fastway Couriers' =>…
WP Simple Pay: Conditionally Dequeue Scripts & Styles
Conditionally dequeue scripts & styles based on set conditions. In this example, we remove all plugin…
Mail Chimp
MailChimp integrations
Local Leaderboard
Leaderboard Nation Round 1 Income Current Round Income Percentage Difference
MemberPress: Extend the Grace Period
This will extend the default 1-day grace period for subscriptions. The code needs to be adjusted…
Hem
Octodesigns.se Octodesigns.se Hem Produkter Galleri Kontakta mig © 2024 Octodesigns.se All rights reserved. Hem Produkter Galleri…
cookie consent script
Cookie Consent by Free Privacy Policy Generator Update cookies preferences
FES Registration Form Redirect
Set custom redirect URLs for those who just registered to become vendors.