Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 172.67.134.116  /  Your IP : 216.73.217.22
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/public_html/wp-content/plugins/buddyboss-platform/cli/components/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/public_html/wp-content/plugins/buddyboss-platform/cli/components/email-create.md
#	wp bp email create

Create a new email post connected to an email type.

## OPTIONS

--type=<type>
: Email type for the email (should be unique identifier, sanitized like a post slug).

--type-description=<type-description>
: Email type description.

--subject=<subject>
: Email subject line. Email tokens allowed. View https://codex.buddypress.org/emails/email-tokens/ for more info.

[--content=<content>]
: Email content. Email tokens allowed. View https://codex.buddypress.org/emails/email-tokens/ for more info.

[--plain-text-content=<plain-text-content>]
: Plain-text email content. Email tokens allowed. View https://codex.buddypress.org/emails/email-tokens/ for more info.

[<file>]
: Read content from <file>. If this value is present, the
    `--content` argument will be ignored.

  Passing `-` as the filename will cause post content to
  be read from STDIN.

[--edit]
: Immediately open system's editor to write or edit email content.

  If content is read from a file, from STDIN, or from the `--content`
  argument, that text will be loaded into the editor.

## EXAMPLES

    # Create email post
    $ wp bp email create --type=new-event --type-description="Send an email when a new event is created" --subject="[{{{site.name}}}] A new event was created" --content="<a href='{{{some.custom-token-url}}}'></a>A new event</a> was created" --plain-text-content="A new event was created"
    Success: Email post created for type "new-event".

    # Create email post with content from given file
    $ wp bp email create ./email-content.txt --type=new-event --type-description="Send an email when a new event is created" --subject="[{{{site.name}}}] A new event was created" --plain-text-content="A new event was created"
    Success: Email post created for type "new-event".

Youez - 2016 - github.com/yon3zu
LinuXploit