Charitable Documentation

Learn how to make the most of Charitable with clear, step-by-step instructions.

Hooks & Filters in Fee Relief

Filters

charitable_fee_relief_theme_template_path

Customize the directory to use for template files in themes/child themes.

Returns:

String. Set to charitable/charitable-fee-relief by default.

Arguments:

None.

Usage:

add_filter( 'charitable_fee_relief_theme_template_path', function( $path ) {
    return 'my-custom-template-path';
} );

charitable_fee_relief_languages_directory

Customize the directory to use for translation files.

Returns:

String. Set to charitable-fee-relief/languages by default.

Arguments:

None.

Usage:

add_filter( 'charitable_fee_relief_languages_directory', function( $path ) {
    return 'my-custom-language-directory';
} );

Still have questions? We’re here to help!

Last Modified: