Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mejta committed Oct 25, 2024
1 parent db71f1a commit f4fef9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@

use Wpify\CustomFields\CustomFields;

require_once __DIR__ . '/vendor/autoload.php';
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once __DIR__ . '/vendor/autoload.php';
}

if ( ! function_exists( 'wpify_custom_fields' ) ) {
/**
Expand Down

0 comments on commit f4fef9c

Please sign in to comment.