Astra_Ext_Advanced_Hooks_Loader::divi_builder_compatibility( array $post_types )
Add Divi page builder support to Advanced hook post type.
Description
Parameters
- $post_types
-
(array) (Required) Array of post types.
Return
(array) $post_types Modified array of post types.
Source
File: addons/advanced-hooks/classes/class-astra-ext-advanced-hooks-loader.php
public function divi_builder_compatibility( $post_types ) {
$post_types[] = ASTRA_ADVANCED_HOOKS_POST_TYPE;
return $post_types;
}
Expand full source code Collapse full source code View on Trac