Title: Filter WP Api
Author: ogulcan
Published: <strong>2017-09-30</strong>
Last modified: 2017-10-21

---

Szukaj wtyczek

![](https://ps.w.org/filter-wp-api/assets/banner-772x250.png?rev=1738881)

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://ps.w.org/filter-wp-api/assets/icon-256x256.png?rev=1738881)

# Filter WP Api

 Autor: [ogulcan](https://profiles.wordpress.org/ogulcan/)

[Pobierz](https://downloads.wordpress.org/plugin/filter-wp-api.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/filter-wp-api/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/filter-wp-api/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/filter-wp-api/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/filter-wp-api/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/filter-wp-api/)

## Opis

If you ever used WP Rest API, you should have noticed that there are lots of fields
that even your client does not need. It makes no sense to load all fields for simple
list or even single post view.

This plugin aims to remove redundant fields on Rest API. For now, it’s only available
for posts.

#### Features

There are two endpoints: „compact” and „detailed.

 * „Compact” is useful for listing posts and Detailed is better for single post 
   view.
 * First image of featured media will be added as 'image’ on detailed and compact.
 * Modified was used as default date.
 * Requires at least WordPress 4.7

## Zrzuty ekranu

[⌊screenshot-1.png⌉⌊screenshot-1.png⌉[

screenshot-1.png

[⌊screenshot-2.png⌉⌊screenshot-2.png⌉[

screenshot-2.png

## Instalacja

This section describes how to install the plugin and get it working.

 1. Upload the plugin files to the `/wp-content/plugins/filter-wp-api` directory, or
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the 'Plugins’ screen in WordPress
 3. Use the Settings->Filter Rest Api screen to configure the plugin
 4. Both endpoints are enabled as default

## Najczęściej zadawane pytania

  How to use compact and detailed endpoints?

Just add „?_compact” or „?_detailed” to end of api url.

  Disabling plugin also disables rest api?

Nope. Just filtering fields will be disabled. Even you call endpoints, default data
will be available.

  Compact and detailed are not working for pages/category/author/media

Correct. This is a plugin that only filters for posts. Please stay tuned for more
features.

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„Filter WP Api” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój
wtyczki.

Zaangażowani

 *   [ ogulcan ](https://profiles.wordpress.org/ogulcan/)

[Przetłumacz wtyczkę “Filter WP Api” na swój język.](https://translate.wordpress.org/projects/wp-plugins/filter-wp-api)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/filter-wp-api/), sprawdź
[repozytorium SVN](https://plugins.svn.wordpress.org/filter-wp-api/) lub czytaj 
[dziennik rozwoju](https://plugins.trac.wordpress.org/log/filter-wp-api/) przez 
[RSS](https://plugins.trac.wordpress.org/log/filter-wp-api/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.0

Initial version.

## Meta

 *  Wersja **1.1.0**
 *  Ostatnia aktualizacja **9 lat temu**
 *  Włączone instalacje **Mniej niż 10**
 *  Wersja WordPressa ** 4.7 lub nowszej **
 *  Testowano do **4.8.30**
 *  Wersja PHP ** 5.2.4 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/filter-wp-api/)
 * Tagi
 * [api](https://pl.wordpress.org/plugins/tags/api/)[filter](https://pl.wordpress.org/plugins/tags/filter/)
   [wp-json](https://pl.wordpress.org/plugins/tags/wp-json/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/filter-wp-api/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/filter-wp-api/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/filter-wp-api/reviews/)

## Zaangażowani

 *   [ ogulcan ](https://profiles.wordpress.org/ogulcan/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/filter-wp-api/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](http://github.com/ogulcan)