false);
$movefile = wp_handle_upload($uploadedfile, $upload_overrides);
if ($movefile && !isset($movefile['error'])) {
// 3. Send the Email with file info
$to = get_option('admin_email'); // Sends to your WordPress admin email
$subject = 'New File Uploaded';
$message = "A new file has been uploaded.\n\n" .
"File URL: " . $movefile['url'] . "\n" .
"File Type: " . $movefile['type'] . "\n" .
"File Path: " . $movefile['file'];
// Optional: Attach the actual file to the email
$attachments = array($movefile['file']);
wp_mail($to, $subject, $message, '', $attachments);
echo "File successfully uploaded and info sent!";
} else {
echo "Error: " . $movefile['error'];
}
}
/**
* The sidebar containing the main widget area.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Astra
* @since 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
$astra_sidebar = apply_filters( 'astra_get_sidebar', 'sidebar-1' );
echo '
'secondary',
'class' => join( ' ', astra_get_secondary_class() ),
)
)
);
echo '>';
?>
“Rounded Visiting Cards” has been added to your cart.
View cart
Showing 25–33 of 33 results
-
-
-
-
Square Visiting Cards
visiting cards
₹599.00 Original price was: ₹599.00.₹369.00Current price is: ₹369.00.
-
-
-
T-SHIRT LOGO
T-SHIRT Logo Desgin
₹800.00 Original price was: ₹800.00.₹599.00Current price is: ₹599.00.
-
-