No Results Found
The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.
// Display the custom page content with current highest bids and the clear buttons function potm_auction_control_page() { // List of months $months = array( 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ); echo '
Below are the current highest bidders for each month, along with their bids:
'; // Display current highest bids echo 'Month | Highest Bid | Bidder Name | Bidder Email |
---|---|---|---|
' . esc_html( $month ) . ' | '; echo '$' . esc_html( $highest_bid ) . ' | '; echo '' . esc_html( $highest_bidder_name ) . ' | '; echo '' . esc_html( $highest_bidder_email ) . ' | '; echo '
Click the button below to clear all auction bids. This action cannot be undone.
'; echo ''; // JavaScript confirmation and page refresh after clearing bids echo ''; // Handle the form submission for clearing bids if ( isset( $_POST['clear_bids_action'] ) && $_POST['clear_bids_action'] === 'clear_bids' ) { clear_test_bids(); // Call the function to clear bids echo 'All auction bids have been cleared!
Click the button below to clear all entries from the auction form. This action cannot be undone.
'; echo ''; // JavaScript confirmation for clearing entries echo ''; // Handle form entry clearing if ( isset( $_POST['clear_entries_action'] ) && $_POST['clear_entries_action'] === 'clear_entries' ) { clear_gravity_form_entries( 14 ); // Replace with your actual form ID echo 'All form entries have been cleared!
The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.
Recent Comments