apply_filters( 'learndash_table_sub_prefix', string $table_prefix, string $table_section )
Filters database table sub prefix.
Description #
Parameters #
- $table_prefix
-
(string) Database table sub prefix.
- $table_section
-
(string) Table section prefix.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash_table_sub_prefix filter. */ add_filter( 'learndash_table_sub_prefix', function( $table_prefix, $table_section ) { // May add any custom logic using $table_prefix, $table_section. // Always return $table_prefix. return $table_prefix; }, 10, 2 );