- Brighton, UK
-
10:19
(UTC)
Pinned Loading
-
wp-edit-homepage
wp-edit-homepage PublicA simple WordPress plugin that adds a homepage edit link to the admin sidebar
PHP
-
A PHP snippet to protect paywalled c...
A PHP snippet to protect paywalled content (e.g. whitepapers) from being freely accessed by the WordPress REST API 1<?php
23function tf_filter_gutenberg_post_types( $args, $post_type ) {
4// Return early - we're not registering the right CPT
5if ( 'whitepaper' !== $post_type ) {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.