Created
June 27, 2023 16:24
-
-
Save alanef/99b412b6a16dff8c767e5c3da0b6e0f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: count | |
*/ | |
add_shortcode( 'count_wfea_transients', function() { | |
$trans= get_option('wfea_transients'); | |
return 'trans: ' . count($trans); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment