Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WordPress_SexHackMe_Plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
WordPress_SexHackMe_Plugin
Commits
c97547f3
Commit
c97547f3
authored
Jul 13, 2022
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fisex pms support class
parent
65f13d56
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
class-paid-member-subscriptions-integration.php
includes/class-paid-member-subscriptions-integration.php
+0
-0
functions-utils.php
includes/functions-utils.php
+14
-0
sexhackme.php
sexhackme.php
+2
-2
No files found.
includes/
function
s-paid-member-subscriptions-integration.php
→
includes/
clas
s-paid-member-subscriptions-integration.php
View file @
c97547f3
File moved
includes/functions-utils.php
View file @
c97547f3
...
@@ -132,6 +132,13 @@ function user_has_premium_access($uid='')
...
@@ -132,6 +132,13 @@ function user_has_premium_access($uid='')
return
$sexhack_pms
->
is_premium
(
$uid
)
AND
is_user_logged_in
();
return
$sexhack_pms
->
is_premium
(
$uid
)
AND
is_user_logged_in
();
}
}
function
user_is_premium
(
$uid
=
''
)
{
global
$sexhack_pms
;
return
$sexhack_pms
->
is_premium
(
$uid
);
}
function
user_has_member_access
(
$uid
=
''
)
function
user_has_member_access
(
$uid
=
''
)
{
{
global
$sexhack_pms
;
global
$sexhack_pms
;
...
@@ -141,6 +148,13 @@ function user_has_member_access($uid='')
...
@@ -141,6 +148,13 @@ function user_has_member_access($uid='')
}
}
function
user_is_member
(
$uid
=
''
)
{
global
$sexhack_pms
;
return
$sexhack_pms
->
is_member
(
$uid
);
}
function
send_changepwd_mail
(
$user_login
,
$baseurl
=
false
){
function
send_changepwd_mail
(
$user_login
,
$baseurl
=
false
){
global
$wpdb
,
$wp_hasher
;
global
$wpdb
,
$wp_hasher
;
...
...
sexhackme.php
View file @
c97547f3
...
@@ -218,8 +218,8 @@ if(!class_exists('SexHackMe_Plugin')) {
...
@@ -218,8 +218,8 @@ if(!class_exists('SexHackMe_Plugin')) {
include_once
(
SH_PLUGIN_DIR_PATH
.
'includes/functions-crypto.php'
);
include_once
(
SH_PLUGIN_DIR_PATH
.
'includes/functions-crypto.php'
);
/* Paid Member Subscription utils */
/* Paid Member Subscription utils */
if
(
file_exists
(
SH_PLUGIN_DIR_PATH
.
'includes/
function
s-paid-member-subscriptions-integration.php'
)
)
if
(
file_exists
(
SH_PLUGIN_DIR_PATH
.
'includes/
clas
s-paid-member-subscriptions-integration.php'
)
)
include_once
(
SH_PLUGIN_DIR_PATH
.
'includes/
function
s-paid-member-subscriptions-integration.php'
);
include_once
(
SH_PLUGIN_DIR_PATH
.
'includes/
clas
s-paid-member-subscriptions-integration.php'
);
/* Video Players */
/* Video Players */
if
(
file_exists
(
SH_PLUGIN_DIR_PATH
.
'includes/class-video-players.php'
)
)
if
(
file_exists
(
SH_PLUGIN_DIR_PATH
.
'includes/class-video-players.php'
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment