You appear to be a bot. Output may be restricted
Description
Usage
oikp_check_post_type( $test_post_type );
Parameters
- $test_post_type
- ( mixed ) optional default: oik_premiumversion –
Returns
void
Source
File name: oik-plugins/oik-plugins.php
Lines:
1 to 11 of 11
function oikp_check_post_type( $test_post_type="oik_premiumversion" ) { //bw_trace2( $pagenow, "pagenow" ); $post_id = bw_array_get( $_REQUEST, "post_id", null ); if ( $post_id ) { $post_type = get_post_type( $post_id ); $result = $post_type == $test_post_type ; } else { $result = false; } return( $result ); }