HEX
Server: Apache/2
System: Linux vpslll9m.sdns.vn 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User: thuexe247c (1044)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/thuexe247c/public_html/wp-content/plugins/joli-faq-seo/fs-helpers.php
<?php

function jfaq_xy_custom_connect_message(
    $message,
    $user_first_name,
    $plugin_title,
    $user_login,
    $site_link,
    $freemius_link
) {
    return sprintf(
        __( 'Hey %1$s', 'joli_faq_seo' ) . ',<br>' . __( 'Welcome aboard %2$s! We are very pleased to count you as a new user! 
        In order to provide the best experience for our plugins, we like to understand how our users interact.
        If you opt-in, some data about your usage of %2$s will be sent to %5$s. 
        If you skip this, that\'s okay too! %2$s will still work just fine.', 'joli_faq_seo' ),
        $user_first_name,
        '<b>' . $plugin_title . '</b>',
        '<b>' . $user_login . '</b>',
        $site_link,
        $freemius_link
    );
}

jfaq_xy()->add_filter(
    'connect_message',
    'jfaq_xy_custom_connect_message',
    10,
    6
);
function jfaq_fs_uninstall_cleanup() {
    // delete_option( 'joli_faq_settings' );
    delete_option( JFAQ()::SLUG . '_rating_time' );
    delete_option( JFAQ()::SLUG . '_gopro_time' );
}

jfaq_xy()->add_action( 'after_uninstall', 'jfaq_fs_uninstall_cleanup' );
if ( !function_exists( 'fs_file' ) ) {
    function fs_file(  $file  ) {
        return $file;
    }

}
if ( !function_exists( 'jfaq_fs_custom_icon' ) ) {
    function jfaq_fs_custom_icon() {
        return dirname( __FILE__ ) . '/assets/icon-256x256.png';
    }

    jfaq_xy()->add_filter( 'plugin_icon', 'jfaq_fs_custom_icon' );
}