apply_filters( 'semperfi_metabox_title', string $title, string $prefix, string $location )
Filters semperfi metabox title.
Description #
Parameters #
- $title
-
(string) Metabox title
- $prefix
-
(string) Title prefix
- $location
-
(string) Metabox location key.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for semperfi_metabox_title filter.
*/
add_filter(
'semperfi_metabox_title',
function( $title, $prefix, $location ) {
// May add any custom logic using $title, $prefix, $location.
// Always return $title.
return $title;
},
10,
3
);
Changelog #
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |