drewjbartlett / wordpress-eloquent

A library that converts converts wordpress tables into Laravel Eloquent Models.
MIT License
148 stars 45 forks source link

Update Post.php #2

Closed terence1990 closed 7 years ago

terence1990 commented 7 years ago

Allowing scopes for type and status makes the Post model friendly to users

drewjbartlett commented 7 years ago

This is great! Thank you for this!

drewjbartlett commented 7 years ago

@terence1990 how would you feel about adding this to the docs?

terence1990 commented 7 years ago

@drewjbartlett yeah sure, shall i do a pull request for your README?

drewjbartlett commented 7 years ago

Yeah, that'd be perfect @terence1990!