Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > essential-blocks > includes > > Blocks
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Accordion.php | File | 1059 bytes | February 26 2025 16:22:10. | |
AccordionItem.php | File | 335 bytes | October 30 2024 16:05:38. | |
AddToCart.php | File | 3515 bytes | October 30 2024 16:05:38. | |
AdvancedHeading.php | File | 4700 bytes | December 24 2024 15:38:54. | |
AdvancedImage.php | File | 1983 bytes | October 30 2024 16:05:38. | |
AdvancedNavigation.php | File | 703 bytes | October 30 2024 16:05:38. | |
AdvancedTabs.php | File | 886 bytes | October 30 2024 16:05:38. | |
AdvancedVideo.php | File | 1021 bytes | October 30 2024 16:05:38. | |
Breadcrumbs.php | File | 11646 bytes | January 12 2025 17:13:54. | |
Button.php | File | 351 bytes | October 30 2024 16:05:38. | |
CallToAction.php | File | 365 bytes | October 30 2024 16:05:38. | |
Column.php | File | 220 bytes | August 27 2024 16:37:06. | |
CountDown.php | File | 605 bytes | October 30 2024 16:05:38. | |
DualButton.php | File | 666 bytes | October 30 2024 16:05:38. | |
FeatureList.php | File | 332 bytes | October 30 2024 16:05:38. | |
FlipBox.php | File | 648 bytes | October 30 2024 16:05:38. | |
FluentForms.php | File | 3865 bytes | October 30 2024 16:05:38. | |
Form.php | File | 5859 bytes | June 29 2025 14:07:42. | |
FormTextField.php | File | 246 bytes | August 27 2024 16:37:06. | |
GoogleMap.php | File | 2615 bytes | October 30 2024 16:05:38. | |
Icon.php | File | 323 bytes | October 30 2024 16:05:38. | |
ImageComparison.php | File | 620 bytes | August 27 2024 16:37:06. | |
ImageGallery.php | File | 2318 bytes | December 24 2024 17:17:58. | |
InfoBox.php | File | 723 bytes | July 27 2025 13:25:28. | |
InstagramFeed.php | File | 6032 bytes | February 26 2025 16:22:10. | |
InteractivePromo.php | File | 321 bytes | August 27 2024 16:37:06. | |
LottieAnimation.php | File | 608 bytes | February 18 2025 14:31:10. | |
NftGallery.php | File | 649 bytes | October 30 2024 16:05:38. | |
Notice.php | File | 580 bytes | October 30 2024 16:05:38. | |
NumberCounter.php | File | 598 bytes | August 27 2024 16:37:06. | |
Openverse.php | File | 480 bytes | October 30 2024 16:05:38. | |
ParallaxSlider.php | File | 664 bytes | October 30 2024 16:05:38. | |
PopUp.php | File | 625 bytes | October 30 2024 16:05:38. | |
PostBlock.php | File | 1610 bytes | August 27 2024 16:37:06. | |
PostCarousel.php | File | 4734 bytes | May 19 2025 15:07:08. | |
PostGrid.php | File | 5888 bytes | January 12 2025 17:13:54. | |
PostMeta.php | File | 3596 bytes | December 24 2024 15:38:54. | |
PricingTable.php | File | 333 bytes | October 30 2024 16:05:38. | |
ProductDetails.php | File | 3598 bytes | October 30 2024 16:05:38. | |
ProductImages.php | File | 2903 bytes | May 08 2025 15:01:12. | |
ProductPrice.php | File | 4866 bytes | October 30 2024 16:05:38. | |
ProductRating.php | File | 3041 bytes | October 30 2024 16:05:38. | |
ProgressBar.php | File | 604 bytes | October 30 2024 16:05:38. | |
Row.php | File | 455 bytes | October 30 2024 16:05:38. | |
ShapeDivider.php | File | 602 bytes | October 30 2024 16:05:38. | |
Slider.php | File | 996 bytes | October 30 2024 16:05:38. | |
Social.php | File | 352 bytes | October 30 2024 16:05:38. | |
SocialShare.php | File | 3982 bytes | October 30 2024 16:05:38. | |
Tab.php | File | 214 bytes | August 27 2024 16:37:06. | |
TableOfContents.php | File | 17342 bytes | June 01 2025 14:07:44. | |
Taxonomy.php | File | 5015 bytes | October 30 2024 16:05:38. | |
TeamMember.php | File | 361 bytes | October 30 2024 16:05:38. | |
Testimonial.php | File | 373 bytes | October 30 2024 16:05:38. | |
Text.php | File | 2540 bytes | October 30 2024 16:05:38. | |
ToggleContent.php | File | 613 bytes | October 30 2024 16:05:38. | |
TypingText.php | File | 594 bytes | August 27 2024 16:37:06. | |
WPForms.php | File | 2991 bytes | October 30 2024 16:05:38. | |
WooProductGrid.php | File | 8590 bytes | March 24 2025 12:57:24. | |
Wrapper.php | File | 359 bytes | August 27 2024 16:37:06. | |
price.php | File | 239 bytes | August 27 2024 16:37:06. |
<?php namespace EssentialBlocks\Blocks; use EssentialBlocks\Core\Block; use EssentialBlocks\Utils\Helper; class WPForms extends Block { protected $attributes = [ 'blockId' => [ 'type' => 'string' ], 'formId' => [ 'type' => 'string' ] ]; /** * Unique name of the block. * * @return string */ public function get_name() { return 'wpforms'; } public function can_enable() { $active_plugins = Helper::get_active_plugin_list(); if ( in_array( 'wpforms-lite/wpforms.php', $active_plugins ) || in_array( 'wpforms/wpforms.php', $active_plugins ) ) { return true; } return false; } /** * Get WPForms List * * @return array */ public static function form_list() { $options = [ ]; if ( class_exists( '\WPForms\WPForms' ) ) { $args = [ 'post_type' => 'wpforms', 'posts_per_page' => -1 ]; $contact_forms = get_posts( $args ); if ( ! empty( $contact_forms ) && ! is_wp_error( $contact_forms ) ) { $options[ 0 ][ 'value' ] = ''; $options[ 0 ][ 'label' ] = esc_html__( 'Select a WPForm', 'essential-blocks' ); foreach ( $contact_forms as $key => $post ) { $options[ $key + 1 ][ 'value' ] = $post->ID; $options[ $key + 1 ][ 'label' ] = $post->post_title; } } } else { $options[ 0 ] = esc_html__( 'Create a Form First', 'essential-blocks' ); } return $options; } /** * Block render callback. * * @param mixed $attributes * @param mixed $content * @return mixed */ public function render_callback( $attributes, $content ) { if ( ! class_exists( '\WPForms\WPForms' ) || is_admin() ) { return; } ob_start(); Helper::views( 'forms/wpforms', wp_parse_args( $attributes, [ 'classHook' => '', 'formId' => '', 'customCheckboxStyle' => false, 'showLabels' => true, 'showPlaceholder' => true, 'showErrorMessage' => true, 'formAlignment' => 'none', 'wrapperClasses' => [ 'eb-wpforms-wrapper' ], 'alignment' => [ 'left' => 'eb-wpforms-alignment-left', 'center' => 'eb-wpforms-alignment-center', 'right' => 'eb-wpforms-alignment-right' ], 'block_object' => $this ] ) ); return ob_get_clean(); } }
SILENT KILLER Tool