Skip to content

Commit

Permalink
fix(typo): it is entropy not entrophy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed May 4, 2023
1 parent afd4136 commit 29163a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion init.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function version( $slug ) {
*
* @return bool
*/
public function has_entrophy() {
public function has_entropy() {
foreach( $this->plugins_slug as $plugin ) {
if ( \call_user_func( array( $this, $plugin['detect'] ) ) ) {
return true;
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if ( $builder->detect('elementor') || $builder->detect('elementor-pro') ) {
}

// Boolean value if a plugin/theme of that list is detect
$builder->has_entrophy();
$builder->has_entropy();
// String if a version number is available or false if not detected
$builder->version('elementor');

Expand Down

0 comments on commit 29163a4

Please sign in to comment.