\

Namespaces

FortAwesome

Constants

FONTAWESOME_DIR_PATH

FONTAWESOME_DIR_PATH = plugin_dir_path(__FILE__)

Active Font Awesome plugin installation directory path.

The result of plugin_dir_path() on the defines.php file for the actively executing installation of the Font Awesome plugin.

For example, if the example plugin under integrations/plugins/plugin-sigma in this repo were installed, activated, and its copy of the Font Awesome plugin were the one selected for execution, then the value of this constant would be something like this: /var/www/html/wp-content/plugins/plugin-sigma/vendor/fortawesome/wordpress-fontawesome/

However, suppose that a second copy of the Font Awesome plugin were installed from the WordPress plugins directory, and that copy had a later semantic version than the one bundled by plugin-sigma. In that case, the value of this constant would look more like this: /var/www/html/wp-content/plugins/font-awesome/

FONTAWESOME_DIR_URL

FONTAWESOME_DIR_URL = plugin_dir_url(__FILE__)

FONTAWESOME_MIN_PHP_VERSION

FONTAWESOME_MIN_PHP_VERSION = '5.6'

Minimum PHP VERSION required

FONTAWESOME_PLUGIN_FILE

FONTAWESOME_PLUGIN_FILE = 'font-awesome/index.php'

Name of this plugin's entrypoint file.

Relative to the WordPress plugins directory, as would be used for $plugin in the activate_{$plugin} action hook.