mycred_register_ranks
Description
This filter lets you make adjustments to the Ranks post type settings before it is handed over to the register_post_type function.
Available since version 1.1.1
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. |
Examples
Example 1: Change the rank post type capability.