Skip to content

Commit

Permalink
Add "Requires Plugins" (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
rami-elementor authored Mar 16, 2024
1 parent ec1ae24 commit c9381a2
Show file tree
Hide file tree
Showing 21 changed files with 67 additions and 43 deletions.
7 changes: 4 additions & 3 deletions src/addons/addon-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ The addon code should look as follows:
* Author: Elementor Developer
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-test-addon
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
*
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
7 changes: 4 additions & 3 deletions src/addons/load.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ The main `elementor-test-addon.php` file loads the functionality:
* Author: Elementor Developer
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-test-addon
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
*
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

function elementor_test_addon() {
Expand Down
7 changes: 4 additions & 3 deletions src/addons/namespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ The main `elementor-test-addon.php` file loads the functionality:
* Author: Elementor Developer
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-test-addon
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
*
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

function elementor_test_addon() {
Expand Down
5 changes: 3 additions & 2 deletions src/context-menu/advanced-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-page-speed-context-menu/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-page-speed-context-menu
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/context-menu/simple-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-context-menus/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-context-menus
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/controls/complex-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ elementor-emojionearea-control/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-emojionearea-control
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/controls/simple-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ elementor-currency-control/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-currency-control
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/dynamic-tags/advanced-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-acf-average-dynamic-tag/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-acf-average-dynamic-tag
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/dynamic-tags/complex-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-server-variable-dynamic-tag/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-server-variable-dynamic-tag
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/dynamic-tags/simple-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-random-number-dynamic-tag/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-random-number-dynamic-tag
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/finder/advanced-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-finder-wordpress-settings/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-finder-wordpress-settings
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/finder/simple-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-finder-social-media/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-finder-social-media
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/form-actions/advanced-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-forms-sendy-action/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-forms-sendy-action
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/form-actions/simple-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ elementor-forms-ping-action/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-forms-ping-action
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/form-fields/advanced-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-form-credit-card-number-field/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-form-credit-card-number-field
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/form-fields/simple-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-form-local-tel-field/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-form-local-tel-field
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
4 changes: 4 additions & 0 deletions src/getting-started/first-addon.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ These widgets will require several files. The main file `elementor-addon.php` wi
* Author: Elementor Developer
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-addon
*
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

function register_hello_world_widget( $widgets_manager ) {
Expand Down
5 changes: 3 additions & 2 deletions src/theme-conditions/advanced-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ elementor-user-role-conditions/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-user-role-conditions
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/theme-conditions/simple-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-logged-in-user-condition/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-logged-in-user-condition
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/widgets/advanced-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-list-widget/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-list-widget
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down
5 changes: 3 additions & 2 deletions src/widgets/simple-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ elementor-oembed-widget/
* Author URI: https://developers.elementor.com/
* Text Domain: elementor-oembed-widget
*
* Elementor tested up to: 3.16.0
* Elementor Pro tested up to: 3.16.0
* Requires Plugins: elementor
* Elementor tested up to: 3.20.0
* Elementor Pro tested up to: 3.20.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down

0 comments on commit c9381a2

Please sign in to comment.