This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
DKF_CPA_Registry::_get_type( WP_Post $addon )
Retrieves the addon item type by given post.
Package
Description Description
Parameters Parameters
- $addon
(WP_Post) (Required) Addon item.
Return Return
(string) Addon type.