um_ajax_load_posts__{$hook}

Hook type

Action

Description

Action on posts loading by AJAX

Parameters

$args

(array) Query arguments

Usage

add_action( 'um_ajax_load_posts__{$hook}', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_ajax_load_posts__{$hook}', 'my_ajax_load_posts', 10, 1 );
function my_ajax_load_posts( $args ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_ajax_load_posts__{$hook} is located in includes/core/class-query.php::line 50