Skip to content

Commit 6ed6769

Browse files
authored
Merge pull request #33 from hatsumatsu/fix-non-admin-user-roles
Switch to native get_option to fix #32
2 parents 78e2364 + 16e4a4f commit 6ed6769

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fields/acf-vimeo_pro_data-v5.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function render_field($field) {
117117

118118
function getVimeoToken()
119119
{
120-
return get_field('acf_vimeo_auth_token', 'options');
120+
return get_option('options_acf_vimeo_auth_token');
121121
}
122122

123123

0 commit comments

Comments
 (0)