-
Notifications
You must be signed in to change notification settings - Fork 10
Adding objects
Mike Hermans edited this page Oct 19, 2020
·
1 revision
The beauty about the use of WordPress Objects is that you can extend them and create custom objects for your Custom Post Types, Custom Taxonomies or User. Loading your own objects can be done in several ways:
-
Preferred: Place a class in your theme’s
wordpress-objects
directory, so it gets autoloaded by Clarkson Core. - Per complete directory by adding it via the filter
clarkson_available_objects_paths
. - Per single object / class file via
clarkson_available_objects
.
Read more about adding custom objects.
Introduction
Documentation