apply_filters( 'ep_weighting_default_post_type_weights', $post_type_defaults, $post_type ) → {array}
Filter weighting defaults for post type
Parameters:
Name | Type | Description |
---|---|---|
$post_type_defaults |
array | Current weighting defaults |
$post_type |
string | Current post type |
Returns:
New defaults
- Type
- array