We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! I need delete_transient after updating the page in the admin panel, but for some reason the hook does not work.
$titan = TitanFramework::getInstance( 'fairy' );
My function:
function fcook_cat_delete_transients($container, $activeTab, $options) { if ( $activeTab == 'homepage-options' ) { delete_transient( 'some_old_transient' ); } } add_action( 'tf_pre_save_admin_fairy', 'fcook_cat_delete_transients', 10, 3 );
Gives an error: PHP Parse error: syntax error, unexpected end of file in....
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello!
I need delete_transient after updating the page in the admin panel, but for some reason the hook does not work.
$titan = TitanFramework::getInstance( 'fairy' );
My function:
function fcook_cat_delete_transients($container, $activeTab, $options) {
if ( $activeTab == 'homepage-options' ) {
delete_transient( 'some_old_transient' );
}
}
add_action( 'tf_pre_save_admin_fairy', 'fcook_cat_delete_transients', 10, 3 );
Gives an error:
PHP Parse error: syntax error, unexpected end of file in....
The text was updated successfully, but these errors were encountered: