Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters
  5. Filter :wp_travel_create_page_id

Filter :wp_travel_create_page_id

Filter for checking if a valid page was found.

Source

File: /inc/admin/admin-helper.php
Used by: /inc/admin/admin-helper.php

Parameters
$valid_page_found, $slug, $page_content

Example:

function prefix_wp_travel_create_page_id() {
    return true;
}
add_filter( 'wp_travel_create_page_id', 'prefix_wp_travel_create_page_id' );
Was this article helpful to you? Yes No

How can we help?