Skip to content
New issue

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

Update postman-smtp.php #84

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions includes/deprecated.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?php
/**
* Deprecated functions
*/

if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}

if ( ! function_exists( 'ps_fs' ) ) {
/**
* @deprecated 3.0.0 Use post_smtp_fs instead.
*/
function ps_fs() {
_deprecated_function( __FUNCTION__, '3.0.0', 'post_smtp_fs' );
return post_smtp_fs();
}
}

/**
* @deprecated 3.0.0 Use post_smtp_setup_postman instead.
*/
function post_setupPostman() {
_deprecated_function( __FUNCTION__, '3.0.0', 'post_smtp_setup_postman' );
post_smtp_setup_postman();
}

/**
* @deprecated 3.0.0 Use post_smtp_dismiss_not_configured instead.
*/
function post_dismiss_not_configured() {
_deprecated_function( __FUNCTION__, '3.0.0', 'post_smtp_dismiss_not_configured' );
post_smtp_dismiss_not_configured();
}

/**
* @deprecated 3.0.0 Use post_smtp_fs_custom_icon instead.
*/
function ps_fs_custom_icon(): string {
_deprecated_function( __FUNCTION__, '3.0.0', 'post_smtp_fs_custom_icon' );
return post_smtp_fs_custom_icon();
}

/**
* @deprecated 3.0.0 Use post_smtp_fs_custom_connect_message_on_update instead.
*/
function ps_fs_custom_connect_message_on_update(
$message,
$user_first_name,
$product_title,
$user_login,
$site_link,
$freemius_link
): string {
_deprecated_function( __FUNCTION__, '3.0.0', 'post_smtp_fs_custom_connect_message_on_update' );
return post_smtp_fs_custom_connect_message_on_update();
}
Loading