apply_filters( 'learndash_custom_database_tables', array $tables )
Filters the list of custom database tables.
Description #
Parameters #
- $tables
-
(array) List of custom database tables.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_custom_database_tables filter.
*/
add_filter(
'learndash_custom_database_tables',
function( $tables ) {
// May add any custom logic using $tables.
// Always return $tables.
return $tables;
}
);
Changelog #
| Version | Description |
|---|---|
| 2.6.0 | Introduced. |