\documentclass{book}
\usepackage{ptext} 
\usepackage[extrafootnotefeatures]{xepersian}
%\settextfont{Yas}
\paragraphfootnotes
\makeatletter
\renewcommand\@makefntext[1]{%
    \parindent 1em%
    \noindent
    \hb@xt@1em{\hss\if@RTL\@thefnmark\@SepMark\space\else\latinfont\@thefnmark\@SepMark\fi}#1}

\bidi@ensure@newcommand{\footfootmark}{%
  \ifdim\footmarkwidth < \z@
    \llap{\hb@xt@ -\footmarkwidth{%
            \hss\normalfont\footscript{\@thefnmark}}%
          \hspace*{\footmarkwidth}}%
  \else
    \ifdim\footmarkwidth = \z@
      {\normalfont\footscript{\@thefnmark}}%
    \else
     \parindent 1em%
    \noindent
    \hb@xt@\footmarkwidth{\hss\footnotesize\@thefnmark\@SepMark\space}%
    \fi
  \fi}
\makeatother
\begin{document}
مقداری متن
\LTRfootnote{This is a test}\LTRfootnote{This is a test}
مقداری متن
\RTLfootnote{این یک تست است}
\ptext[1-5]
\end{document}