Skip to content

Commit

Permalink
fix: ACF Column compatibility
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Jenkins <[email protected]>
  • Loading branch information
nlemoine and orangecactus committed Mar 12, 2024
1 parent 78c6581 commit 5f6c517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acf-country.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ public function add_graphql_field_support($supported_fields)
* Hook the Admin Columns Pro plugin to provide basic field support
* if detected on the current WordPress installation.
*/
protected function admin_column($value, $id, $column)
public function admin_column($value, $id, $column)
{
if (
!is_a($column, '\ACA\ACF\Column')
|| $column->get_acf_field_option('type') !== 'country'
|| $column->get_field()->get_settings()['type'] !== 'country'
) {
return $value;
}
Expand Down

0 comments on commit 5f6c517

Please sign in to comment.