Ticket #1078: jumpstart-plugins.diff
File jumpstart-plugins.diff, 881 bytes (added by , 9 years ago) |
---|
-
extend/plugins-plugins/_translator-jumpstart.php
1 <?php 2 function prepare_translator_jumpstart() { 3 require __DIR__ . '/../../translator/translator-jumpstart.php'; 4 Translator_Jumpstart::init(); 5 } 6 7 function setup_translator_project_paths( $paths ) { 8 $paths[] = 'meta/plugins'; 9 return $paths; 10 } 11 12 add_filter( 'translator_project_paths', 'setup_translator_project_paths' ); 13 add_action( 'bb_init', 'prepare_translator_jumpstart' );