{"id":25961,"date":"2022-12-14T16:48:43","date_gmt":"2022-12-14T11:18:43","guid":{"rendered":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/"},"modified":"2022-12-14T16:48:43","modified_gmt":"2022-12-14T11:18:43","slug":"solved-how-to-remove-a-filter-that-is-an-object-method","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/","title":{"rendered":"[Solved] How to remove a filter that is an object method?"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div id=\"answer-57088\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"57088\" data-parentid=\"57079\" data-score=\"89\" data-position-on-page=\"1\" data-highest-scored=\"1\" data-question-has-accepted-highest-score=\"1\" itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<div class=\"post-layout\">\n<div class=\"votecell post-layout--left\"><\/div>\n<div class=\"answercell post-layout--right\">\n<div class=\"s-prose js-post-body\" itemprop=\"text\">\n<p>That\u2019s a very good question. It goes down to the dark heart of the plugin API and best programming practices.<\/p>\n<p>For the following answer I created a simple plugin to illustrate the problem with easy to read code.<\/p>\n<pre><code>&lt;?php # -*- coding: utf-8 -*-\n\/* Plugin Name: Anonymous OOP Action *\/\n\nif ( ! class_exists( 'Anonymous_Object' ) )\n{\n    \/**\n     * Add some actions with randomized global identifiers.\n     *\/\n    class Anonymous_Object\n    {\n        public function __construct()\n        {\n            add_action( 'wp_footer', array ( $this, 'print_message_1' ), 5 );\n            add_action( 'wp_footer', array ( $this, 'print_message_2' ), 5 );\n            add_action( 'wp_footer', array ( $this, 'print_message_3' ), 12 );\n        }\n\n        public function print_message_1()\n        {\n            print '&lt;p&gt;Kill me!&lt;\/p&gt;';\n        }\n\n        public function print_message_2()\n        {\n            print '&lt;p&gt;Me too!&lt;\/p&gt;';\n        }\n\n        public function print_message_3()\n        {\n            print '&lt;p&gt;Aaaand me!&lt;\/p&gt;';\n        }\n    }\n\n    \/\/ Good luck finding me!\n    new Anonymous_Object;\n}\n<\/code><\/pre>\n<p>Now we see this:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-remove-a-filter-that-is-an-anonymous.png\" alt=\"enter image description here\"><\/p>\n<p>WordPress needs a <strong>name<\/strong> for the filter. We didn\u2019t provide one, so WordPress calls <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/queryposts.com\/function\/_wp_filter_build_unique_id\/\"><code>_wp_filter_build_unique_id()<\/code><\/a> and creates one. This name is not predictable because it uses <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/php.net\/spl_object_hash\"><code>spl_object_hash()<\/code><\/a>.<\/p>\n<p>If we run a <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/php.net\/var_export\"><code>var_export()<\/code><\/a> on <code>$GLOBALS['wp_filter'][ 'wp_footer' ]<\/code> we get something like this now:<\/p>\n<pre><code>array (\n  5 =&gt; \n  array (\n    '000000002296220e0000000013735e2bprint_message_1' =&gt; \n    array (\n      'function' =&gt; \n      array (\n        0 =&gt; \n        Anonymous_Object::__set_state(array(\n        )),\n        1 =&gt; 'print_message_1',\n      ),\n      'accepted_args' =&gt; 1,\n    ),\n    '000000002296220e0000000013735e2bprint_message_2' =&gt; \n    array (\n      'function' =&gt; \n      array (\n        0 =&gt; \n        Anonymous_Object::__set_state(array(\n        )),\n        1 =&gt; 'print_message_2',\n      ),\n      'accepted_args' =&gt; 1,\n    ),\n  ),\n  12 =&gt; \n  array (\n    '000000002296220e0000000013735e2bprint_message_3' =&gt; \n    array (\n      'function' =&gt; \n      array (\n        0 =&gt; \n        Anonymous_Object::__set_state(array(\n        )),\n        1 =&gt; 'print_message_3',\n      ),\n      'accepted_args' =&gt; 1,\n    ),\n  ),\n  20 =&gt; \n  array (\n    'wp_print_footer_scripts' =&gt; \n    array (\n      'function' =&gt; 'wp_print_footer_scripts',\n      'accepted_args' =&gt; 1,\n    ),\n  ),\n  1000 =&gt; \n  array (\n    'wp_admin_bar_render' =&gt; \n    array (\n      'function' =&gt; 'wp_admin_bar_render',\n      'accepted_args' =&gt; 1,\n    ),\n  ),\n)\n<\/code><\/pre>\n<p>To find and remove our evil action we have to go through the associated filters for the hook (an action is just a very simple filter), check if it is an array and if the object is an instance of the class. Then we take the priority and remove the filter, <em>without ever seeing the real identifier<\/em>.<\/p>\n<p>Okay, let\u2019s put that into a function:<\/p>\n<pre><code>if ( ! function_exists( 'remove_anonymous_object_filter' ) )\n{\n    \/**\n     * Remove an anonymous object filter.\n     *\n     * @param  string $tag    Hook name.\n     * @param  string $class  Class name\n     * @param  string $method Method name\n     * @return void\n     *\/\n    function remove_anonymous_object_filter( $tag, $class, $method )\n    {\n        $filters = $GLOBALS['wp_filter'][ $tag ];\n\n        if ( empty ( $filters ) )\n        {\n            return;\n        }\n\n        foreach ( $filters as $priority =&gt; $filter )\n        {\n            foreach ( $filter as $identifier =&gt; $function )\n            {\n                if ( is_array( $function)\n                    and is_a( $function['function'][0], $class )\n                    and $method === $function['function'][1]\n                )\n                {\n                    remove_filter(\n                        $tag,\n                        array ( $function['function'][0], $method ),\n                        $priority\n                    );\n                }\n            }\n        }\n    }\n}\n<\/code><\/pre>\n<p>When do we call this function? There is no way to know for sure when the original object is created. Maybe sometimes before <code>'plugins_loaded'<\/code>? Maybe later? <\/p>\n<p>We use just the same hook the object is associated to and jump in very early with priority <code>0<\/code>. That\u2019s the only way to be really sure. Here is how we would remove the method <code>print_message_3()<\/code>:<\/p>\n<pre><code>add_action( 'wp_footer', 'kill_anonymous_example', 0 );\n\nfunction kill_anonymous_example()\n{\n    remove_anonymous_object_filter(\n        'wp_footer',\n        'Anonymous_Object',\n        'print_message_3'\n    );\n}\n<\/code><\/pre>\n<p>Result:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/1661109919_363_Solved-How-to-remove-a-filter-that-is-an-anonymous.png\" alt=\"enter image description here\"><\/p>\n<p>And that should remove the action from your question (not tested):<\/p>\n<pre><code>add_action( 'comments_array', 'kill_FbComments', 0 );\n\nfunction kill_FbComments()\n{\n    remove_anonymous_object_filter(\n        'comments_array',\n        'SEOFacebookComments',\n        'FbComments'\n    );\n}\n<\/code><\/pre>\n<h2>Conclusion<\/h2>\n<ul>\n<li>Always write predictable code. Set readable names for your filters and actions. Make it easy to remove any hook.<\/li>\n<li>Create your object on a predictable action, for example on <code>'plugins_loaded'<\/code>. Not just when your plugin is called by WordPress.<\/li>\n<\/ul><\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p>            <span class=\"d-none\" itemprop=\"commentCount\">12<\/span> <\/p><\/div>\n<\/div>\n<p>[ad_2]<\/p>\n<p>solved How to remove a filter that is an object method? <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] That\u2019s a very good question. It goes down to the dark heart of the plugin API and best programming practices. For the following answer I created a simple plugin to illustrate the problem with easy to read code. &lt;?php # -*- coding: utf-8 -*- \/* Plugin Name: Anonymous OOP Action *\/ if ( ! &#8230; <a title=\"[Solved] How to remove a filter that is an object method?\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/\" aria-label=\"More on [Solved] How to remove a filter that is an object method?\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[627],"tags":[705,547],"class_list":["post-25961","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-filters","tag-oop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Solved] How to remove a filter that is an object method? - JassWeb<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] How to remove a filter that is an object method? - JassWeb\" \/>\n<meta property=\"og:description\" content=\"[ad_1] That\u2019s a very good question. It goes down to the dark heart of the plugin API and best programming practices. For the following answer I created a simple plugin to illustrate the problem with easy to read code. &lt;?php # -*- coding: utf-8 -*- \/* Plugin Name: Anonymous OOP Action *\/ if ( ! ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-14T11:18:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-remove-a-filter-that-is-an-anonymous.png\" \/>\n<meta name=\"author\" content=\"Kirat\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirat\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] How to remove a filter that is an object method?\",\"datePublished\":\"2022-12-14T11:18:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/\"},\"wordCount\":280,\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-remove-a-filter-that-is-an-anonymous.png\",\"keywords\":[\"filters\",\"oop\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/\",\"url\":\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/\",\"name\":\"[Solved] How to remove a filter that is an object method? - JassWeb\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-remove-a-filter-that-is-an-anonymous.png\",\"datePublished\":\"2022-12-14T11:18:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#primaryimage\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-remove-a-filter-that-is-an-anonymous.png\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-remove-a-filter-that-is-an-anonymous.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jassweb.com\/solved\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] How to remove a filter that is an object method?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jassweb.com\/solved\/#website\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"name\":\"JassWeb\",\"description\":\"Build High-quality Websites\",\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jassweb.com\/solved\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\",\"name\":\"Jass Web\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"contentUrl\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"width\":693,\"height\":132,\"caption\":\"Jass Web\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\",\"name\":\"Kirat\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\/\/jassweb.com\"],\"url\":\"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] How to remove a filter that is an object method? - JassWeb","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] How to remove a filter that is an object method? - JassWeb","og_description":"[ad_1] That\u2019s a very good question. It goes down to the dark heart of the plugin API and best programming practices. For the following answer I created a simple plugin to illustrate the problem with easy to read code. &lt;?php # -*- coding: utf-8 -*- \/* Plugin Name: Anonymous OOP Action *\/ if ( ! ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/","og_site_name":"JassWeb","article_published_time":"2022-12-14T11:18:43+00:00","og_image":[{"url":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-remove-a-filter-that-is-an-anonymous.png","type":"","width":"","height":""}],"author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] How to remove a filter that is an object method?","datePublished":"2022-12-14T11:18:43+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/"},"wordCount":280,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"image":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#primaryimage"},"thumbnailUrl":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-remove-a-filter-that-is-an-anonymous.png","keywords":["filters","oop"],"articleSection":["WordPress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/","url":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/","name":"[Solved] How to remove a filter that is an object method? - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#primaryimage"},"image":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#primaryimage"},"thumbnailUrl":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-remove-a-filter-that-is-an-anonymous.png","datePublished":"2022-12-14T11:18:43+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#primaryimage","url":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-remove-a-filter-that-is-an-anonymous.png","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-remove-a-filter-that-is-an-anonymous.png"},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-remove-a-filter-that-is-an-object-method\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] How to remove a filter that is an object method?"}]},{"@type":"WebSite","@id":"https:\/\/jassweb.com\/solved\/#website","url":"https:\/\/jassweb.com\/solved\/","name":"JassWeb","description":"Build High-quality Websites","publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jassweb.com\/solved\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jassweb.com\/solved\/#organization","name":"Jass Web","url":"https:\/\/jassweb.com\/solved\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/","url":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","contentUrl":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","width":693,"height":132,"caption":"Jass Web"},"image":{"@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31","name":"Kirat","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586","caption":"Kirat"},"sameAs":["http:\/\/jassweb.com"],"url":"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/25961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/comments?post=25961"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/25961\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=25961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=25961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=25961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}