ClassicPress Directory Integration
Plugin Description
Plugins from ClassicPress Directory now can be installed using the “Install CP Plugins” menu under “Plugins” menu.
Themes from ClassicPress Directory now can be installed using the “CP Themes” menu under “Appearance” menu.
- Flush transients:
wp cpdi flush
Filters the folder where we search for icons and banners.
The filtered path is relative to the plugin’s directory.
Example:
add_filter(
'cpdi_images_folder_' . basename( __DIR__ ),
function ( $source ) {
return '/assets/images';
}
);