Clean up and prevent empty meta from being saved for Job, Company, or Resume listings in database

Overview
=== Empty Meta Cleanup for WP Job Manager ===
Contributors: tripflex
Tags: wp job manager, meta, cleanup, wpjobmanager
Requires at least: 5.2
Tested up to: 5.9
Requires PHP: 5.6
Stable tag: 1.0.1
Network: true
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Author URI: https://smyl.es
Plugin URI: https://github.com/tripflex/wp-job-manager-empty-meta-cleanup
Text Domain: wp-job-manager-empty-meta-cleanup
Domain Path: /languages

Automatically prune empty meta from being saved to database when using WP Job Manager, WP Job Manager Resumes, Cariera (Companies), Company Manager, Astoundify Company Listings, and MAS Company Manager.

== Description ==

Anytime WP Job Manager or related plugins (WP Job Manager Resumes, Cariera (Companies), Company Manager, Astoundify Company Listings, and MAS Company Manager) saves a listing, it does so for every field configured, even if there is no value to be saved.

This can result in a large amount of empty meta values stored in the database, ultimately causing slower query times, a larger database, and issues with querying for listings based on meta values (when using Search and Filtering for WP Job Manager).

Configuration can be found under the "Meta" tab in the associated Settings page (Job, Resume, or Companies).

You can contribute to this project on GitHub:
https://github.com/tripflex/wp-job-manager-empty-meta-cleanup

It's also STRONGLY recommended that you also install the Index WP MySQL for Speed plugin
https://wordpress.org/plugins/index-wp-mysql-for-speed/

== Frequently Asked Questions ==
= How do I cleanup existing empty meta? =

To cleanup existing empty meta entries in the database, you must be have either the WP Job Manager Field Editor 1.12.2+ or Search and Filtering for WP Job Manager 1.1.9+ plugin installed and activated.  The code that handles that is included in those plugins, and is not something included with this plugin.

= Do I really need this? =

It depends. Does your theme or another plugin add custom fields outside the default WP Job Manager (or associated) fields? Have you changed any of the fields to optional? Are you
using the WP Job Manager Field Editor or Search and Filtering for WP Job Manager addons? If you answered yes to any of these, then yes.

= How does it work? =

Currently the method used to handle this is by looping through all the fields after the core plugin saves the listing, checking if those values were actually submitted when the
listing was saved, and if they are not, it deletes the meta from the database. In an upcoming release the core plugins will be short-circuited when they attempt to save the meta,
but for now we just delete the empty meta value after it's added to the database.

= Can I exclude specific fields? =

Yes you can, please check GitHub project for associated filters that can be used (a UI will be added in a later release for this)

= How else can I speed up my site and database? =

I strongly recommend also using the "Index WP MySQL for Speed" plugin to add indexes to your database:
https://wordpress.org/plugins/index-wp-mysql-for-speed/

== Changelog ==

= 1.0.1 = Fix incorrect option check on frontend removal

= 1.0.0 = Initial Release
You might also like...
Chain Laravel jobs without having to glue it to a starting job

Laravel Job Chainer JobChainer does chain a variable amount of jobs by adding them with the add() method. This makes it possible to chain jobs without

Job Engelen INF2B 669915 Webdevelopment eindopdracht.

Docker template for PHP projects This repository provides a starting template for PHP application development. It contains: NGINX webserver PHP FastCG

HTML Meta Tags management package available for for Laravel 5.*

HTML Meta Tags management package available for Laravel 5/6/7/8 With this package you can manage header Meta Tags from Laravel controllers. If you wan

Laravel package meta 🧡
Laravel package meta 🧡

About hwa-meta is a meta package. It helps us to build and develop faster with pre-built functions. This saves a lot of time on future projects. We sh

A laravel package to handle model specific additional meta fields in an elegant way.

Laravel Meta Fields A php package for laravel framework to handle model meta data in a elegant way. Installation Require the package using composer: c

The main MageSuite (meta)package to rule them all
The main MageSuite (meta)package to rule them all

A Magento 2 extension ecosystem providing UX/performance improvements and many new features. This is a core metapackage which you should install in or

Manage meta data based on URL path within your app.
Manage meta data based on URL path within your app.

Laravel SEO Manager This package provides simple functionality to manage SEO tags based on URL path within your Laravel application. You can put the U

Simple laravel hook for adding meta tags to head for inertia

laravel seo hook for js frameworks simple hook for adding meta tags to head/head for js frameworks inertia:react,vue, etc... in app/Meta.php put M

Decorate Your Models and Write Clean/Reusable Code with Presenters.

Laravel Presenter A clean way to present your model attributes without putting them in the wrong file. Installation You can install the package via co

Releases(1.0.1)
Job Portal - Find your dream job here Various career opportunities await you

Find your dream job here Various career opportunities await you. Find the right career and connect with companies anytime, anywhere ?? free access to search for jobs, post resumes, and research companies. ??

Ossama Mehmood 샘 5 Nov 14, 2022
CV-Resumes-App is helped us to build resume .. you can help me to improve this app...

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Eng Hasan Hajjar 2 Sep 30, 2022
Twitter clone project being developed by using PHP Laravel Framework and tailwind.css

Twits! About Twits! We, as enthusiastic learners and new developers, kicked of this project in order to improve our skills and capabilities in PhP Lar

Furkan MeraloÄŸlu 10 Aug 29, 2022
This Laravel package merges staudenmeir/eloquent-param-limit-fix and staudenmeir/laravel-adjacency-list to allow them being used in the same model.

This Laravel package merges staudenmeir/eloquent-param-limit-fix and staudenmeir/laravel-adjacency-list to allow them being used in the same model.

Jonas Staudenmeir 5 Jan 6, 2023
ergodnc (Ergonomic Desk & Coffee) is an open source Laravel project that's being built live on the official Laravel YouTube Channel

About This Project ergodnc (Ergonomic Desk & Coffee) is an open source Laravel project that's being built live on the official Laravel YouTube Channel

Mohamed Said 248 Dec 26, 2022
A Laravel package to scrub sensitive information that breaks operational security policies from being leaked on accident or not by developers.

A Laravel package to scrub sensitive information that breaks operational security policies from being leaked on accident or not by developers.

YorCreative 104 Jan 6, 2023
Login system designed by fragX to validate the user and prevent unauthorized access to confidential data.

Login_System v.0.1 Login system designed by fragX to validate the user and prevent unauthorized access to confidential data. ?? Features Sign In and S

fragX 1 Jan 28, 2022
Prevent users from reusing recently used passwords

Laravel Password History Validation Prevent users from reusing recently used passwords. Installation You can install the package via composer: compose

Paul Edward 67 Oct 10, 2022
Renamify is a package for Laravel used to rename a file before uploaded to prevent replacing exists file which has the same name to this new uploaded file.

Renamify Laravel package for renaming file before uploaded on server. Renamify is a package for Laravel used to rename a file before uploaded to preve

MB'DUSENGE Callixte 2 Oct 11, 2022
Laravel SEO - This is a simple and extensible package for improving SEO via meta tags, such as OpenGraph tags.

This is a simple and extensible package for improving SEO via meta tags, such as OpenGraph tags.

ARCHTECH 191 Dec 30, 2022