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,…
Display Width in Pixel - Elementor
This displays Width of the Current Editor View in Pixels, when Editing in Elementor. Copied from..…
Book Review
Used to list book review recommendations
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.
Register Podcast Meta Fields
Automatically adds the 'Key Concepts', 'Referenced in this Episode', and 'Companion Post Link' input fields to…
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
Woocommerce: How to add minimum amount for different categories with different amount per category with different notice.
WooCommerce: Display Minimum Order Amount Notices by Category This code snippet adds functionality to your WooCommerce…