wp_cache_delete_buttons()
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
wp_cache_delete_buttons();
Код wp_cache_delete_buttons() wp cache delete buttons WPSCache 1.12.4
function wp_cache_delete_buttons() { $admin_url = admin_url( 'options-general.php?page=wpsupercache' ); echo '<form name="wp_cache_content_expired" action="' . esc_url_raw( add_query_arg( 'tab', 'contents', $admin_url ) . '#listfiles' ) . '" method="post">'; echo '<input type="hidden" name="wp_delete_expired" />'; echo '<div class="submit" style="float:left"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Expired', 'wp-super-cache' ) . '" /></div>'; wp_nonce_field('wp-cache'); echo "</form>\n"; echo '<form name="wp_cache_content_delete" action="' . esc_url_raw( add_query_arg( 'tab', 'contents', $admin_url ) . '#listfiles' ) . '" method="post">'; echo '<input type="hidden" name="wp_delete_cache" />'; echo '<div class="submit" style="float:left;margin-left:10px"><input id="deletepost" class="button-secondary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache', 'wp-super-cache' ) . '" /></div>'; wp_nonce_field('wp-cache'); echo "</form>\n"; if ( is_multisite() && wpsupercache_site_admin() ) { echo '<form name="wp_cache_content_delete" action="' . esc_url_raw( add_query_arg( 'tab', 'contents', $admin_url ) . '#listfiles' ) . '" method="post">'; echo '<input type="hidden" name="wp_delete_all_cache" />'; echo '<div class="submit" style="float:left;margin-left:10px"><input id="deleteallpost" class="button-secondary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache On All Blogs', 'wp-super-cache' ) . '" /></div>'; wp_nonce_field('wp-cache'); echo "</form>\n"; } }