delete category on plugin deactivation wordpress

I am trying to delete the category dynamically when the plugin is deactivated but it is not deleting But it is adding on activation properly the only problem is deletion of category on deactivation. function to add category function add_category_on_activation(){ global $wpdocs_cat_id; $wpdocs_cat = array(‘cat_name’ => ‘Event Category’, ‘category_description’ => ‘An Event Category to show…

Display all custom meta field values from the database using ACF Repeater

I’m working on a personal project which includes multiple custom fields (created via ACF). A few of them are repeater types. I want to to display 3 arrays/blocks of those repeater subfield values. For better understanding, I have this repeater field: open_workshops, and this field includes subfields: date, location, partnerships. I want simply to show…

Select Query With Integer and Quotes Fails

Joomla 3.9.13 I’m having some issues with a simple select query. This query is generated by the core files, I haven’t created any overrides or changed the code. In administrator/components/com_fields/models/field.php around line 668 the query looks like this; $query->select(array($query->qn(‘field_id’), $query->qn(‘value’))) ->from($query->qn(‘#__fields_values’)) ->where($query->qn(‘field_id’) . ‘ IN (‘ . implode(‘,’, ArrayHelper::toInteger($fieldIds)) . ‘)’) ->where($query->qn(‘item_id’) . ‘ =…