get_prefixed_hook( 'controllers/starts' ), [ &$this ] ); $this->start_controls_section( 'section_content', array( 'label' => __( 'Template', 'absolute-addons' ), ) ); $image_grid_styles = apply_filters( 'absp/widgets/image-grid/styles', [ 'one' => __( 'Style One', 'absolute-addons' ), 'two' => __( 'Style Two', 'absolute-addons' ), 'three-pro' => __( 'Style Three Pro', 'absolute-addons' ), 'four' => __( 'Style Four', 'absolute-addons' ), 'five-pro' => __( 'Style Five Pro', 'absolute-addons' ), 'six-pro' => __( 'Style Six Pro', 'absolute-addons' ), 'seven' => __( 'Style Seven', 'absolute-addons' ), 'eight' => __( 'Style Eight', 'absolute-addons' ), 'nine' => __( 'Style Nine', 'absolute-addons' ), 'ten-pro' => __( 'Style Ten Pro', 'absolute-addons' ), 'eleven' => __( 'Style Eleven', 'absolute-addons' ), 'twelve' => __( 'Style Twelve', 'absolute-addons' ), 'thirteen-pro' => __( 'Style Thirteen Pro', 'absolute-addons' ), ] ); $this->add_control( 'absolute_image_grid', array( 'label' => __( 'Image Grid Style', 'absolute-addons' ), 'label_block' => TRUE, 'type' => Absp_Control_Styles::TYPE, 'options' => $image_grid_styles, 'default' => 'one', 'disabled' => [ 'two', 'four', 'five-pro', 'six-pro', 'seven', 'eight', 'nine', 'ten-pro', 'eleven', 'twelve', 'thirteen-pro', ], ) ); $pro_styles = [ 'three-pro', 'five-pro', 'six-pro', 'ten-pro', 'thirteen-pro', ]; $this->init_pro_alert( $pro_styles ); $this->end_controls_section(); $this->render_controller( 'template-image-grid-item-controller' ); $this->render_controller( 'template-image-grid-item-style-controller' ); /** * Fires after controllers are registered. * * @param Absoluteaddons_Style_Logo_Grid $this Current instance of WP_Network_Query (passed by reference). * * @since 1.0.0 * */ do_action_ref_array( $this->get_prefixed_hook( 'controllers/ends' ), [ &$this ] ); } protected function render() { $settings = $this->get_settings_for_display(); ?>