芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/www/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/product-title.php
'heading', 'is_core_dependency' => true, ], ]; } protected function register_controls() { parent::register_controls(); $this->update_control( 'title', [ 'dynamic' => [ 'default' => Plugin::elementor()->dynamic_tags->tag_data_to_tag_text( null, 'woocommerce-product-title-tag' ), ], ], [ 'recursive' => true, ] ); $this->update_control( 'header_size', [ 'default' => 'h1', ] ); } protected function get_html_wrapper_class() { return parent::get_html_wrapper_class() . ' elementor-page-title elementor-widget-' . parent::get_name(); } protected function render() { $this->add_render_attribute( 'title', 'class', [ 'product_title', 'entry-title' ] ); parent::render(); } /** * Render Woocommerce Product Title output in the editor. * * Written as a Backbone JavaScript template and used to generate the live preview. * * @since 2.9.0 * @access protected */ protected function content_template() { ?> <# view.addRenderAttribute( 'title', 'class', [ 'product_title', 'entry-title' ] ); #>