WP Development

WordPress Settings API Hidden Field

This short article covers one way of creating hidden fields with the WordPress Settings API. This is useful for more than just creating hidden input fields; for instance I used it when I wanted to render a number of checkboxes in a single field, yet still have the checkbox options managed by the Settings API. The WordPress Settings API The WordPress Settings API is a great, if poorly documented addition to WordPress. The two best…

Read More

WP Development

Add a WordPress Custom Bulk Action

Good news! There are now core APIs to do this as of WordPress 4.7. You can read more here. Like me you probably woke up this morning assuming that adding a new bulk action to WordPress would be as easy tracking down the correct filter or implementing the right action hook. If so, then you might have had a rude awakening when you attempted to make use of the promising-looking filter named bulk-actions-screenid and failed….

Read More