Changeset 12994 for trunk/src/bp-core/classes/class-bp-block.php
- Timestamp:
- 07/12/2021 07:48:13 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/classes/class-bp-block.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-block.php
r12661 r12994 48 48 * @since 6.0.0 49 49 * 50 * @param array $args The registration arguments for the BP Block. 50 * @param array $args { 51 * The registration arguments for the BP Block. Part of the arguments are the ones 52 * used by `WP_Block_Type`. Below are BP specific arguments. 53 * 54 * @type string $name The name of the block (eg: `bp/member`). 55 * @type string $editor_script_url URL to the JavaScript main file of the BP Block 56 * to load into the Block Editor. 57 * @type array $editor_script_deps The list of JavaScript dependency handles for the 58 * BP Block main file. 59 * @type string $script_url URL to the JavaScript file to load into the Block 60 * Editor and on front-end. 61 * @type array $script_deps The list of JavaScript dependency handles for the 62 * JavaScript file to load into the Block Editor and 63 * on front-end. 64 * @type string $editor_style_url URL to the CSS main file of the BP Block to load 65 * into the Block Editor. 66 * @type array $editor_style_deps The list of CSS dependency handles for the 67 * CSS main file. 68 * @type string $style_url URL to the CSS file to load into the Block Editor 69 * and on front-end. 70 * @type array $style_deps The list of CSS dependency handles for the CSS file 71 * to load into the Block Editor and on front-end. 72 * } 51 73 */ 52 74 public function __construct( $args ) {
Note: See TracChangeset
for help on using the changeset viewer.