Skip to content

saltus_models_path filter

Carlos Moreira edited this page Jun 2, 2020 · 1 revision

The saltus_models_path filter will allow you to change the default src/models folder path that the framework uses to look for model files.

Usage:

add_filter('saltus_models_path','my_plugin_model_path');

function my_plugin_model_path( $path ){
	return 'includes/models';
}

Clone this wiki locally