So, I am not completely new to developing plugins in WordPress but this is something […]
Tag: oop
Wp_update_post: Infinite loop even with remove_action solution, OOP
I have a quite complex PHP class, reponsible for creating and printing meta_boxes, generating and […]
Single Responsibility Principle and WP Classes
Still working my way through OOP and Solid principles. Iâm having a hard time getting […]
Trying to get logged-in user data inside php class
I am trying to get the current logged-in user data and use this in the […]
The ideal place for storing persistent PHP objects
I’m writing some plugins that do background batch processing, i.e. operations that take longer than […]
WordPress: Why Can’t get_terms() See Custom Taxonomy Registered inside Class?
Background I register a custom post type and custom taxonomy inside a class. Inside the […]
MySQLi connection with variables in config.php
I am creating a database connection class, that will access the variables or constants defined […]
WP_Query() doesn’t work inside a custom class
What would prevent WP_Query() from working inside a class method? class MyClass { function __construct() […]
How to handle cookies from a WordPress plugin on a cached page?
I’m attempting to write a plugin that can work with cookies on a WordPress site […]
WooCommerce trigger custom email via AJAX
hi and thanks for stopping by. i am currently writing a plugin for wordpress. i […]
No More Posts Available.
No more pages to load.