public/wordpress/wp-content/plugins/wp-courseware/includes/gateways/gateway-stripe.php
/**
	 * Formate Statement Description.
	 *
	 * @since 4.3.0
	 *
	 * @param string $desc The statement description.
	 *
	 * @return string $statement_desc The formatted statement description.
	 */
Formate Statement Description.

@param string $desc The statement description.

@return string $statement_desc The formatted statement description.
Formate Statement Description . @param string $desc The statement description . @return string $statement_desc The formatted statement description .
public function format_statement_desc( $desc ) {
		$statement_desc = wp_kses_post( $desc );
		$statement_desc = str_replace( array( '<', '>', '"', "'" ), '', $statement_desc );
		$statement_desc = substr( trim( $statement_desc ), 0, 22 );
		return $statement_desc;
	}
public function format_statement_desc ( $ desc ) { $ statement_desc = wp_kses_post ( $ desc ) ; $ statement_desc = str_replace ( array ( '<' , '>' , '"' , " ' " ) , '' , $ statement_desc ) ; $ statement_desc = substr ( trim ( $ statement_desc ) , 0 , 22 ) ; return $ statement_desc ; }
Formate Statement Description.
Formate Statement Description .