false ); $types = get_post_types( $args, 'names' ); $types[] = 'post'; $types[] = 'page'; return $types; } // Render the Plugin options form function async_share_render_form() { include_once ASYNC_SOCIAL_SHARING_PLUGIN_PATH . 'includes/views/admin-view.php'; // Plugin admin options page } function async_share_validate_options( $input ) { return esc_attr( $input ); }