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…
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…
Local Leaderboard
Leaderboard Nation Round 1 Income Current Round Income Percentage Difference
FES Registration Form Redirect
Set custom redirect URLs for those who just registered to become vendors.
MemberPress: Add a description to Order Bumps on the registration page
In this example, a description is added to an Order Bump with a membership ID of…
MemberPress: WooCommerce - Show Protected Products on the Shop Page
If we protect products using Rules, they won’t show in the Shop page. To change this…
om-reactv3.js
// Using React Router V3 import { browserHistory } from 'react-router'; class App extends React.component {…
WPCode Functions
For the WPCode plugin interface