mycred_banking_compound_interest

Codex / mycred/banking / Actions / mycred_banking_compound_interest

Description

This action runs after the Compound Interest service settings, allowing you to insert custom settings or code on the settings page.

Available since version 1.2

Parameters

Param Type Required Description
$service obj No

The Compound Interest module object.

Used By

Package Prio. Description
Not used by any built-in package.

Examples

Example 1: Insert text on the service settings page.

add_action( 'mycred_banking_compound_interest', 'mycredpro_comp_service_prefs' );
function mycredpro_comp_service_prefs( $service ) {

	echo '<p>Custom text.</p>';

}

Last edited March 7, 2016