Title: Custom fields to api
Author: Memomon
Published: <strong>अक्टोबर 29, 2016</strong>
Last modified: नोभेम्बर 1, 2016

---

प्लगिनहरू खोज्नुहोस्

![](https://ps.w.org/aliens-sci/assets/banner-772x250.png?rev=1524661)

यो प्लगिन **वर्डप्रेसका ३ प्रमुख नवीनतम रिलीजहरूसँग परीक्षण गरिएको छैन**। यो अब 
सम्भवतः व्यवस्थित वा समर्थन नभएको हुन सक्छ र वर्डप्रेसका नयाँ संस्करणहरूमा प्रयोग
गर्दा अनुकूलता सम्बन्धी समस्या हुन सक्छ।

![](https://ps.w.org/aliens-sci/assets/icon-256x256.png?rev=1524662)

# Custom fields to api

 [Memomon](https://profiles.wordpress.org/4samy/) द्वारा

[डाउनलोड गर्नुहोस्](https://downloads.wordpress.org/plugin/aliens-sci.zip)

 * [विवरण](https://ne.wordpress.org/plugins/aliens-sci/#description)
 * [समीक्षाहरू](https://ne.wordpress.org/plugins/aliens-sci/#reviews)
 *  [स्थापना](https://ne.wordpress.org/plugins/aliens-sci/#installation)
 * [विकास](https://ne.wordpress.org/plugins/aliens-sci/#developers)

 [सहायता](https://wordpress.org/support/plugin/aliens-sci/)

## विवरण

Puts all code from Custom fields to api.

## स्थापना

 1. Unzip and upload the `aliens-sci` directory to `/wp-content/plugins/`.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## प्रश्नोत्तर

  requires you to add the following to your functions.php file to allow filtering
on the WP-API by meta_key

add_filter( ‘json_query_vars’, ‘filterJsonQueryVars’ );

function filterJsonQueryVars( $vars ) { $vars[] = ‘meta_key’; return $vars; }

  Once you added that, you can filter using these arguments

dowmian.com/wp-json/posts?filter[orderby]=meta_value_num&filter[meta_key]=order&
filter[order]=ASC

  Usage

filter[orderby]: Either meta_value or meta_value_num depending on whether you’re
filtering on an alphanumeric value or a numeric value filter[meta_key]: The key 
you want to filter on, this is the name of the ACF field filter[order]: The order
to receive the data in, ASC or DESC

See the `CONTRIBUTING.md` file.

  How can I filter posts on a custom field?

## समीक्षाहरू

यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।

## योगदानकर्ता र डेभलपरहरू

“Custom fields to api” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान
गरेका छन्।

योगदानकर्ताहरू

 *   [ Memomon ](https://profiles.wordpress.org/4samy/)

[“Custom fields to api” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्](https://translate.wordpress.org/projects/wp-plugins/aliens-sci)

### विकासमा रुचि छ?

[आरएसएस](https://plugins.trac.wordpress.org/log/aliens-sci/?limit=100&mode=stop_on_copy&format=rss)
द्वारा [कोड ब्राउज गर्नुहोस्](https://plugins.trac.wordpress.org/browser/aliens-sci/),
[एसभीएन रिपजिटरी](https://plugins.svn.wordpress.org/aliens-sci/) हेर्नुहोस्, वा 
[विकास लग](https://plugins.trac.wordpress.org/log/aliens-sci/) को सदस्यता लिनुहोस्।

## चेन्जलग

#### 1.0.0

 * Initial release.

### 1.0.1

 * Bug fixes and performance improvements.

## मेटा

 *  संस्करण **1.0.1**
 *  पछिल्लो अपडेट **10 वर्ष अघि**
 *  सक्रिय स्थापना **१० भन्दा कम**
 *  वर्डप्रेस संस्करण ** 1.0.1 वा उच्च **
 *  जाँच गरिएको **4.6.30**
 *  भाषा
 * [English (US)](https://wordpress.org/plugins/aliens-sci/)
 * ट्यागहरू
 * [api](https://ne.wordpress.org/plugins/tags/api/)[custom fields](https://ne.wordpress.org/plugins/tags/custom-fields/)
 *  [उन्नत दृश्य](https://ne.wordpress.org/plugins/aliens-sci/advanced/)

## रेटिङ्गहरू

अहिलेसम्म कुनै समीक्षा पेस गरिएको छैन।

[Your review](https://wordpress.org/support/plugin/aliens-sci/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/aliens-sci/reviews/)

## योगदानकर्ताहरू

 *   [ Memomon ](https://profiles.wordpress.org/4samy/)

## सहायता

केही भन्नु छ? सहयोग चाहियो?

 [सहायता फोरम हेर्नुहोस्](https://wordpress.org/support/plugin/aliens-sci/)