Skip to content

Commit

Permalink
Fix hero field key
Browse files Browse the repository at this point in the history
  • Loading branch information
eebbi committed Sep 12, 2024
1 parent b1cc4b0 commit 2770028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ACF/AlterHeroLayoutFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function alter_fields( array $fields ) : array {
$fields['link']->set_wrapper_width( 100 );
$fields['image']->set_required();
$fields['description']->set_maxlength( 200 );
$fields['video']->set_instructions( 'Jos olet asettanut herolle kuvan, videota ei näytetä.' );
$fields['video_file']->set_instructions( 'Jos olet asettanut herolle kuvan, videota ei näytetä.' );
}
catch ( Exception $e ) {
( new Logger() )->error( $e->getMessage(), $e->getTrace() );
Expand Down

0 comments on commit 2770028

Please sign in to comment.