| @@ -84,9 +84,20 @@ | ||
| 84 | 84 | 'label' => esc_html__( 'Read More', 'elementor' ), |
| 85 | 85 | ] |
| 86 | 86 | ); |
| 87 | 87 | |
| 88 | - $default_link_text = apply_filters( 'elementor/widgets/read_more/default_link_text', esc_html__( 'Continue reading', 'elementor' ) ); | |
| 88 | + $default_link_text = esc_html__( 'Continue reading', 'elementor' ); | |
| 89 | + | |
| 90 | + /** | |
| 91 | + * Read More widgets link text. | |
| 92 | + * | |
| 93 | + * Filters the link text in the "Read More" widget. | |
| 94 | + * | |
| 95 | + * This hook can be used to set different default text in the widget. | |
| 96 | + * | |
| 97 | + * @param string $default_link_text The link text in the "Read More" widget. Default is "Continue reading". | |
| 98 | + */ | |
| 99 | + $default_link_text = apply_filters( 'elementor/widgets/read_more/default_link_text', $default_link_text ); | |
| 89 | 100 | |
| 90 | 101 | $this->add_control( |
| 91 | 102 | 'theme_support', |
| 92 | 103 | [ |