Actions
Packaging Fit provides several action hooks that allow developers to extend and customize its functionality.
twpf_before_register_settings
add_action( 'twpf_before_register_settings', 'twpf_custom_settings_function' );
function twpf_custom_settings_function() {
// Add custom settings logic here
}twpf_after_register_settings
add_action( 'twpf_after_register_settings', 'twpf_custom_after_settings_function' );
function twpf_custom_after_settings_function() {
// Perform actions after settings are registered
}twpf_before_package_data
add_action( 'twpf_before_package_data', 'twpf_custom_before_package_data_function' );
function twpf_custom_before_package_data_function() {
// Modify package data before output
}twpf_after_package_data
Last updated