apply_filters( 'bp_block_translation_dir', string $value, string $editor_script, string $name )

Filter here to use a custom directory to look for the JSON translation file into.


Parameters Parameters

$value

(string) Absolute path to the directory to look for the JSON translation file into.

$editor_script

(string) The editor's script handle.

$name

(string) The block's name.


Source Source

File: bp-core/classes/class-bp-block.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.