Advertisement
geminilabs

Untitled

Jan 9th, 2024 (edited)
862
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. /**
  2.  * @param array $args
  3.  * @return array
  4.  */
  5. add_filter('site-reviews-forms/builder/assigned_posts/args', function ($args) {
  6.     if (in_array('page', $args['post_type'] ?? [])) {
  7.         $args['include'] = [ // change or add Post IDs to the array as needed
  8.             1361,
  9.             1405,
  10.             1416,
  11.             1422,
  12.         ];
  13.     }
  14.     return $args;
  15. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement