__CLASS__, 'attributes' => $attributes, 'block_ids' => self::$block_ids, ] ); $html_attributes = $attributes['htmlAttributes'] ?? []; $is_sticky = array_key_exists( 'data-gb-is-sticky', $html_attributes ); if ( $is_sticky ) { wp_enqueue_script( 'generateblocks-pro-sticky', GENERATEBLOCKS_PRO_DIR_URL . 'dist/sticky-element.js', [], GENERATEBLOCKS_PRO_VERSION, true ); } return $block_content; } }