Send Webhook WordPress PHP

To send a line of code to a webhook when a WordPress plugin is activated, you’ll need to modify the register_activation_hook code to include a function that sends a request to your desired webhook URL. Here’s how you can do it: First, you need to set up a webhook URL where you want to send … Read more

Extra filtering on post query

Rather than trying to manage access at the various places people might be able to see the posts, it’s probably safest to create custom user roles. For example, WP autogenerates RSS feeds, so if you’re only covering the single-post and archive views, you may not be covering the feeds themselves. If you create custom roles, … Read more