Making WordPress.org

Ticket #1078: jumpstart-plugins.diff

File jumpstart-plugins.diff, 881 bytes (added by yoavf, 9 years ago)
  • extend/plugins-plugins/_translator-jumpstart.php

     
     1<?php
     2function prepare_translator_jumpstart() {
     3        require __DIR__ . '/../../translator/translator-jumpstart.php';
     4        Translator_Jumpstart::init();
     5}
     6
     7function setup_translator_project_paths( $paths ) {
     8        $paths[] = 'meta/plugins';
     9        return $paths;
     10}
     11
     12add_filter( 'translator_project_paths', 'setup_translator_project_paths' );
     13add_action( 'bb_init', 'prepare_translator_jumpstart' );