wpsl_store_category_args

  1. Description
  2. Parameters
  3. Usage
  4. Changelog
  5. Source File
  6. Related

Description

This filter allows you to modify the arguments that are used to register the store categories for the wpsl_stores post type.

Parameters

$args - (array) The default arguments.

Usage

This example hides the category column from the store list on the “All Stores” page:

Changelog

Since 2.0

Source File

This filter is located in /inc/class-post-types.php

Placement

The code needs to be placed in the functions.php file inside your active theme folder.