wpsl_post_type_labels

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

Description

This filter allows you to modify the labels for the wpsl_stores post type.

Parameters

$labels - (array) The default post type labels.

Usage

This example changes the label for the Store Locator stores that appear under “New” in the admin toolbar:

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.