Filters
Packaging Fit provides several filter hooks that allow developers to extend and customize its functionality.
twpf_global_options
Modify global options for the plugin. This filter allows you to customize the default settings used throughout the plugin.
twpf_menu_capability
Customize the capability required to access the menu. This filter allows you to control which user roles can access the Packaging Fit
settings.
twpf_menu_title
Customize the menu title. Use this filter to change the text displayed in the WordPress admin menu.
twpf_prepare_api_request_data
@since 1.0.2
Filters the data sent to the Packaging Fit API before making the request.
Last updated
Was this helpful?