bbp_importer_path

bbp_importer_path

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_importer_path') is found 1 times:

  • /includes/admin/classes/class-bbp-admin.php line 694
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    // Loop through included importers
    foreach ( $importers as $importer ) {
     
        // Allow custom importer directory
        $import_dir  = apply_filters( 'bbp_importer_path', $this->admin_dir . 'importers', $importer );
     
        // Compile the importer path
        $import_file = trailingslashit( $import_dir ) . $importer . '.php';
     
        // If the file exists, include it
        if ( file_exists( $import_file ) ) {