Statement Helper Functions
The helper you can use to create, delete, get and update Statement details.
function add_statement($statement) {.....}
Supported hooks
// The filter callback function is based on the filter.
add_filter( ‘before_add_statement’, ‘before_add_statement_callback_fun’, 10, 1 );
function before_add_statement_callback_fun($statement) {
// code
}// The filter callback function is based on the filter.
add_filter( ‘should_add_statement’, ‘should_add_statement_callback_fun’, 10, 1 );
function should_add_statement_callback_fun($statement) {
// code
}
Param
Type
Required
Default
Description
function get_statement($statement_id) {....}
Supported hooks
Param
Type
Required
Default
Description
function get_statements($filter) {.....}
Param
Type
Required
Default
Description
function update_statement($statement, $statement_id) {....}
Param
Type
Required
Default
Description
function delete_statement ($statement_id) {.....}
Param
Type
Required
Default
Description
Last updated