WP_Model
WP_Model copied to clipboard
A simple drop-in abstract class for creating active record style eloquent-esque models of WordPress Posts
Declare $_params property to allow correct addition of new WP_Query arguments. Without the declaration any additional params passed to the `params` method are not preserved in future method calls.
I have several classes extending WP_Model and in nearly every one of them I have a couple of getters or finders where I explicitly need 1 entity from a resulting...
I see that in the readme talks about attributes but not where they will be saved. They are custom meta? I see also in the code CMB2 support but in...