ap_activity_add( array $args = array() )

Description #

Insert activity into database. This function is an alias of @see AnsPress\Activity_Helper::insert().

Parameters #

  • $args
    array (Optional) Arguments for insert. All list of arguments can be seen at @see AnsPressActivity_Helper::insert(). Default value: array()

Changelog #

VersionDescription
4.1.2Introduced.

Source #

File: includes/activity.php

function ap_activity_add( $args = array() ) {
	return ap_activity_object()->insert( $args );
}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment