This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "key": "group_xcalendar_events", | |
| "title": "Calendar Event Fields", | |
| "fields": [ | |
| { | |
| "key": "field_xcalendar_basic_info_tab", | |
| "label": "Basic Event Information", | |
| "name": "", | |
| "type": "tab", | |
| "instructions": "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* to make them more visible (default was 0.4) */ | |
| #bricks-structure .structure-item svg { | |
| opacity: 1; | |
| } | |
| /* to change the color of the arrows */ | |
| #bricks-structure .toggle svg { | |
| color: red; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class X_Test_Element extends \Bricks\Element { | |
| // Element properties | |
| public $category = "general"; | |
| public $name = "xtestelement"; | |
| public $icon = "ti-layout-width-full"; | |
| public function get_label() { | |
| return esc_html__("Test element", "bricks"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function your_custom_function() { | |
| $output = '<p>' . get_field( 'acf_field_one' ) . '</p>'; | |
| $output .= '<p>' . get_field( 'acf_field_two' ) . '</p>'; | |
| return $output; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * FluentCart Product Transaction Hash Lookup | |
| * | |
| * @param int $product_id The product ID to check for | |
| * @return string The transaction hash if product was just purchased | |
| */ | |
| function get_fluentcart_product_trx_hash( $product_id ) { | |
NewerOlder