Skip to content

Conversation

@smichaels
Copy link

hi...a client had a need for this functionality, so I went ahead and implemented this function per your TODO.

thanks!

Sean

@GaryJones
Copy link
Contributor

GaryJones commented Aug 8, 2024

Thanks!

The conflicts would need resolving after all this time.

Would love to see some tests for this.

Copying the TODO notes here:

// get_object_terms
// get_terms

// OR

// get all meta_keys that match the prefix
// strip the prefix

// OR

// get all zones and see if there's a matching meta entry
// strip the prefix from keys

// array_map( 'absint', $zone_ids )
// $zones = array();
// foreach( $zone_ids as $zone_id ) {
// $zones[] = get_zone( $zone_id );
// }
// return $zones;

@GaryJones GaryJones added type: enhancement New feature or request status: awaiting feedback Awaiting feedback from reporter labels Aug 8, 2024
@GaryJones GaryJones changed the base branch from main to develop August 8, 2024 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: awaiting feedback Awaiting feedback from reporter type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants