Home Plugin documentation Hooks and functions Filters pip/tailwind/config_file



Here we go!



Heads up!

This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don’t provide support for code customizations or 3rd party development.

This filter allows you to change path of the tailwind.config.js file

add_filter( 'pip/tailwind/config_file', function ( $config_file ) {
    return PIP_THEME_ASSETS_PATH . 'tailwind.config.js';
} );

You didn’t find the answer you were looking for?

or you think a specific topic deserve more informations?


Wave to bottom