You are here

function views_php_views_post_render in Views PHP 7.2

Implements hook_views_post_execute().

File

./views_php.module, line 156
Allows to use PHP in views.

Code

function views_php_views_post_render($view) {

  // Restore original query plugin if it was wrapped.
  if ($view->query instanceof views_php_plugin_wrapper) {
    $view->query
      ->php_unwrap();
  }
}