Wordpress delete cache postmeta - wordpress

I'm using Profi Search form and Advanced Custom field.
Profi Search Form allows me to filter my posts through my custom fields.
The problem is that it's allows me to me to filter with fields I deleted through the interface ACF dashboard.
How can I permanently delete these custom fields ?

Ok, the two solutions I've found :
Delete these posts meta in the database, with MySQL.
Use a plugin like "WP-Cleanup" and delete revisions

Related

WooCommerce JetEngine API: update meta box fields

I need to programmatically update Meta Box meta fields by JetEngine for WooCommerce products.I searched all over but couldn't find and clear explanation on how to update the meta fields programmatically.
As you can see in the picture below, The meta field settings have an option to enable REST API, which suggests that it is possible to update the fields programmatically, somehow.
SOLVED
turns out these meta fields get stored as regular metadata in the product object. So updating the fields is as simple as updating the product metadata.

Add Custom Post Type Custom Fields to WordPress Search

I've created a custom post type for a client (gravesite), and it has several custom fields to fill out ('bcva_branch_text', 'bcva_rank', 'bcva_start_serve', 'bcva_end_serve', 'bcva_dob', 'bcva_dod', 'bcva_cemetary', 'bcva_latitude', 'bcva_longitude').
The client wants these fields to be searchable, but I'm having trouble finding a way to do it. The WordPress Search will search the custom post type's title and 'editor' fields, but how do I get WP to search the added custom fields as well?
Thanks!
The Custom Fields Search plugin looks like it will do what you need. It seems to let you choose which custom fields will be included in search.

keep custom field after deliting post in wordpress

I've created some custom fields to make it easier to add specific list items to a section in wordpress then I deleted the post and the custom fields disappear.
Does anybody knows how to keep a custom field after deleting the original post where they where created?
you should use an custom meta box.
In this you can specify your values so each post can access the values:
http://codex.wordpress.org/Function_Reference/add_meta_box

wordpress custom fields

When adding a new post the custom fields from a previous post are showing as meta data for the new post. Is there some way to clear these fields when a new post is being created or is there possibly an issue with my installation?
I think this is a list of available custom fields if you talking about custom fields list in the select box below post editor, otherwise it's impossible that other fields were copied from previous post without any plugin interaction.

Wordpress: add a custom field option that's available to all posts

As part of my theme install, I'd like to add a set of custom field options to the wordpress database that would be available to all posts as long as my theme is active.
For example, I'd like to add these fields:
custom-image-1
custom-image-2
custom-image-3
And also these
custom-image-1-link
custom-image-2-link
custom-image-3-link
And then when a user goes to add or edit a post, they can insert values for each of these fields if they choose to...
You simply have to create a post and add these custom fields once to have them proposed for every next posts (in the custom fields part of the form).
If you need to create a more integrated interface for these extra fields, you might be better off creating a plugin or looking for existing ones, such as this one.
Use the add_meta_box function that comes with WordPress.
https://developer.wordpress.org/reference/functions/add_meta_box/

Resources