Description
This filter lets you make adjustments to the Ranks post type settings before it is handed over to the register_post_type function.
Parameters
Param | Type | Required | Description |
---|---|---|---|
$args |
array | Yes | The post type settings array. |
$module |
obj | No | The myCRED_Ranks_Module class. |
Used By
Package | Prio. | Description |
---|---|---|
mycred/rank | 10 | Used by the myCRED_Ranks_Module class. |
Example
Example 1: Change the rank post type capability.