NewAnswer::run_action()
Description #
Run action.
Source #
File: includes/class-async-tasks.php
protected function run_action() { $post_id = ap_sanitize_unslash( 'post_id', 'g' ); $post = get_post( $post_id ); if ( $post ) { do_action( "wp_async_$this->action", $post->ID, $post ); } }
Expand full source code Collapse full source code View on GitHub: includes/class-async-tasks.php:89
Add your comment