affiliate-toolkit registers some custom post types. Sometimes you may want to override certain parameters that are set by default.
function atkp_fieldgroup_register_post_type_callback( $args ) {
//$args hält das Array welches an register_post_type übergeben wird
//$args['description'] = 'Mein Beschreibungstext';
return $args ;
}
add_filter( 'atkp_fieldgroup_register_post_type', 'atkp_fieldgroup_register_post_type_callback');
Parameter | Description |
args | Contains the array which will be passed to the register_post_type function. |
Return value | The modified array. |
function atkp_list_register_post_type_callback( $args ) {
//$args hält das Array welches an register_post_type übergeben wird
//$args['description'] = 'Mein Beschreibungstext';
return $args ;
}
add_filter( 'atkp_list_register_post_type', 'atkp_list_register_post_type_callback');
Parameter | Description |
args | Contains the array which will be passed to the register_post_type function. |
Return value | The modified array. |
function atkp_product_register_post_type_callback( $args ) {
//$args hält das Array welches an register_post_type übergeben wird
//$args['description'] = 'Mein Beschreibungstext';
return $args ;
}
add_filter( 'atkp_product_register_post_type', 'atkp_product_register_post_type_callback');
Parameter | Description |
args | Contains the array which will be passed to the register_post_type function. |
Return value | The modified array. |
function atkp_shop_register_post_type_callback( $args ) {
//$args hält das Array welches an register_post_type übergeben wird
//$args['description'] = 'Mein Beschreibungstext';
return $args ;
}
add_filter( 'atkp_shop_register_post_type', 'atkp_shop_register_post_type_callback');
Parameter | Description |
args | Contains the array which will be passed to the register_post_type function. |
Return value | The modified array. |
function atkp_template_register_post_type_callback( $args ) {
//$args hält das Array welches an register_post_type übergeben wird
//$args['description'] = 'Mein Beschreibungstext';
return $args ;
}
add_filter( 'atkp_template_register_post_type', 'atkp_template_register_post_type_callback');
Parameter | Description |
args | Contains the array which will be passed to the register_post_type function. |
Return value | The modified array. |
You are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from hCaptcha to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from Turnstile to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information