Custom post type filter

bh_sl_cpt_params

Description

Filter the parameters of the default “Locations” custom post type registered by the plugin when the “Data source” setting is set to “Register Locations Post Type.”

Parameters

Name Type Description
$locations_args array The full array of all the custom post type arguments

Example

The following example changes the menu position of the custom post type link in the dashboard from the default 5 to 60.