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 | |
| add_filter( 'bricks/element/render_attributes', function( $attributes, $key, $element ) { | |
| /* add your slider element id */ | |
| $element_id = 'clmuqy'; | |
| /* add any additional Splide options */ | |
| $splide_options = array( | |
| 'slideFocus' => false, |
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
| // Run once: clear plugin update caches and force a fresh check. | |
| add_action( 'admin_init', function () { | |
| if ( ! current_user_can( 'update_plugins' ) ) { | |
| return; | |
| } | |
| global $wpdb; | |
| // EDD-style updater caches (current and legacy key formats) + failed-request lock. | |
| $wpdb->query( |
NewerOlder