# Best Practices

Elementor Core Basic

This Best Practices guide is a living document for Elementor addon developers, meant to be revised as Elementor makes changes, introduces new features, and provides additional recommendations. We recommend following these best practices.

# Supported PHP Versions

Ensure your addon is compatible with the most used PHP version (v7.4) and the latest PHP versions and (v8.0 and above).

# Compatibility Tag

Elementor has its own header comments (opens new window) where you can note the Elementor version that the addon was tested against. This is an optional header, but we recommend using it.

# Compatibility Checks

Check which Elementor and PHP versions (opens new window) a website uses to make sure your addon supports it. Otherwise, notify the user that the website doesn’t meet the addon’s requirements.

# Scripts & Style Registration

Elementor has its own way to register scripts and styles (opens new window). Using the recommended methods ensures your addon is optimized for performance.

# Internationalization

Use WordPress functions to internationalize (opens new window) your strings.

# Remove Deprecated Code

Already have an addon? Run it through the Elementor Deprecated Code Detector (opens new window) to see if your addon contains any deprecated code (opens new window). If so, we highly recommend removing it.

# Adopt Latest Performance Features

Implement Element Caching (opens new window) to store element output in the cache for more performant websites.

# Elementor Pro Developer License

Test with Elementor Pro by requesting a Developer License (opens new window).

# Security

Participate in Patchstack’s free mVDP Program (opens new window) to maintain the security hygiene of your product with a clear vulnerability reporting structure.